mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Updated yaml file to version 2, see #752
parent
61f27a930d
commit
e432238469
1 changed files with 15 additions and 13 deletions
|
|
@ -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`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue