1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/doc/docker.markdown
2015-10-14 15:56:24 +02:00

1.8 KiB

How to run Kanboard with Docker?

Kanboard can run easily with Docker. There is a Dockerfile in the repository to build your own container.

Use the stable version

To fetch the latest stable release of Kanboard use the tag stable:

docker pull kanboard/kanboard
docker run -d --name kanboard -p 80:80 -t kanboard/kanboard:stable

Use the development version (automated build)

Every new commit on the repository trigger a new build on Docker Hub.

docker pull kanboard/kanboard
docker run -d --name kanboard -p 80:80 -t kanboard/kanboard:latest

The tag latest is the development version of Kanboard, use at your own risk.

Build your own Docker image

Clone the Kanboard repository and run the following command:

docker build -t youruser/kanboard:master .

To run your image in background on the port 80:

docker run -d --name kanboard -p 80:80 -t youruser/kanboard:master

Store your data on a volume

By default Kanboard will store attachments and the Sqlite database in the directory data. Run this command to use a custom volume path:

docker run -d --name kanboard -v /your/local/data/folder:/var/www/html/data -p 80:80 -t kanboard/kanboard:master

References