From b0238060c7ea193488c594f24eaae1ea5008052c Mon Sep 17 00:00:00 2001 From: Matthieu FAURE Date: Sat, 26 Sep 2015 14:15:21 +0200 Subject: [PATCH] Updated Install Wekan Docker for testing (markdown) --- Install-Wekan-Docker-for-testing.md | 31 ++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/Install-Wekan-Docker-for-testing.md b/Install-Wekan-Docker-for-testing.md index 3fa7cc7..0598049 100644 --- a/Install-Wekan-Docker-for-testing.md +++ b/Install-Wekan-Docker-for-testing.md @@ -1 +1,30 @@ -hop \ No newline at end of file +**Purpose**: just to try Wekan on your own Linux workstation + +1. [Install Docker](http://docs.docker.com/linux/step_one/) +1. [Install Docker-Compose](http://docs.docker.com/compose/install/) +1. Say we want to save our Wekan data on the host in directory `/home/johndoe/wekan/data` +1. In a given directory (say `/home/johndoe/wekan`), create a `docker-compose.yml` file with: + +```yaml +wekan: + image: mquandalle/wekan + links: + - wekandb + environment: + - MONGO_URL=mongodb://wekandb/wekan + - ROOT_URL=http://localhost:80 + ports: + - 80:80 + +wekandb: + image: mongo + volumes: + - /home/johndoe/wekan/data:/data/db +``` + +Then, from the directory containing the `docker-composer.yml` (i.e. `/home/johndoe/wekan`), simply run `docker-compose up`. If you want it to be deamonized, you could run `docker-compose up -d`. + +Your wekan data are in `/home/johndoe/wekan/data` and thus can be backed up. + +(This procedure has been tested on Linux Ubuntu 14.04.) +