Skip to content

Instantly share code, notes, and snippets.

@mathew-fleisch
Last active January 22, 2020 16:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathew-fleisch/1abbb30d5fdf3191146c17e250022856 to your computer and use it in GitHub Desktop.
Save mathew-fleisch/1abbb30d5fdf3191146c17e250022856 to your computer and use it in GitHub Desktop.
KANBAN
#!/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