2016-01-03 16:03:57 +01:00
|
|
|
|
# You can read the Docker Compose documentation at:
|
|
|
|
|
|
#
|
|
|
|
|
|
# https://docs.docker.com/compose/
|
|
|
|
|
|
#
|
|
|
|
|
|
# Run with file with `docker-compose up -d`.
|
|
|
|
|
|
#
|
|
|
|
|
|
# We use two separate Docker containers: one for the database and one for the
|
|
|
|
|
|
# Wekan application. The Wekan container doensn’t contain any mutable state
|
|
|
|
|
|
# (all the user data, even uploads, are saved in the database) so updating it
|
|
|
|
|
|
# is as simple as stoping the old version and starting the new one. If you want
|
|
|
|
|
|
# to update the database you need to uncomment the volume section below.
|
|
|
|
|
|
|
|
|
|
|
|
wekandb:
|
|
|
|
|
|
image: mongo
|
|
|
|
|
|
# volumes:
|
|
|
|
|
|
# - ./data/runtime/db:/data/db
|
|
|
|
|
|
# - ./data/dump:/dump
|
|
|
|
|
|
command: mongod --smallfiles --oplogSize 128
|
2016-01-08 10:14:55 +01:00
|
|
|
|
ports:
|
|
|
|
|
|
- 27017
|
2016-01-03 16:03:57 +01:00
|
|
|
|
|
2015-09-06 19:19:34 +02:00
|
|
|
|
wekan:
|
|
|
|
|
|
image: mquandalle/wekan
|
|
|
|
|
|
links:
|
|
|
|
|
|
- wekandb
|
|
|
|
|
|
environment:
|
|
|
|
|
|
- MONGO_URL=mongodb://wekandb/wekan
|
|
|
|
|
|
- ROOT_URL=http://localhost:80
|
|
|
|
|
|
ports:
|
|
|
|
|
|
- 80:80
|
|
|
|
|
|
|