Updated yaml file to version 2, see #752

Thomas Becker 2017-01-05 08:26:43 +01:00
parent 61f27a930d
commit e432238469

@ -6,20 +6,22 @@
1. In a given directory (say `/home/johndoe/wekan`), create a `docker-compose.yml` file with: 1. In a given directory (say `/home/johndoe/wekan`), create a `docker-compose.yml` file with:
```yaml ```yaml
wekan: version: '2'
image: mquandalle/wekan services:
links: wekan:
- wekandb image: mquandalle/wekan
environment: links:
- MONGO_URL=mongodb://wekandb/wekan - wekandb
- ROOT_URL=http://localhost:80 environment:
ports: - MONGO_URL=mongodb://wekandb/wekan
- 80:80 - ROOT_URL=http://localhost:80
ports:
- 80:80
wekandb: wekandb:
image: mongo image: mongo
volumes: volumes:
- /home/johndoe/wekan/data:/data/db - /home/johndoe/wekan/data:/data/db
``` ```
Then, from the directory containing the `docker-compose.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`. Then, from the directory containing the `docker-compose.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`.