Last active
January 22, 2020 16:14
-
-
Save mathew-fleisch/1abbb30d5fdf3191146c17e250022856 to your computer and use it in GitHub Desktop.
KANBAN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Uses docker to set up a local kan-ban board. db.sqlite | |
# lives in the container, and must be mounted locally to | |
# persist passed the container terminating. Also assumes | |
# that there are no running docker containers. | |
# https://docs.kanboard.org/en/latest/index.html | |
mkdir -p kanban | |
cd kanban | |
# Pull kan ban | |
docker pull kanboard/kanboard:latest | |
# Get init db | |
docker run -d --name kanboard -p 8080:80 -t kanboard/kanboard:latest | |
# Copy db.sqlite in the current directory | |
docker cp $(docker ps -q):/var/www/app/data/db.sqlite . | |
# Remove this temp container | |
docker rm $(docker ps -q) -f | |
# Run with mapped file | |
docker run -d --name kanboard -p 8080:80 -v $(pwd):/var/www/app/data -t kanboard/kanboard:latest | |
# http://localhost:8080/login | |
# Default creds: admin/admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment