mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Complete the Docker Compose manifest
This commit is contained in:
parent
45c542cec3
commit
8c01d51577
1 changed files with 20 additions and 6 deletions
|
|
@ -1,5 +1,23 @@
|
||||||
# Run with `docker-compose up -d`
|
# You can read the Docker Compose documentation at:
|
||||||
# XXX We should activate MongoDB oplog for better performance.
|
#
|
||||||
|
# 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
|
||||||
|
ports: 27017
|
||||||
|
|
||||||
wekan:
|
wekan:
|
||||||
image: mquandalle/wekan
|
image: mquandalle/wekan
|
||||||
links:
|
links:
|
||||||
|
|
@ -10,7 +28,3 @@ wekan:
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
|
||||||
wekandb:
|
|
||||||
image: mongo
|
|
||||||
ports:
|
|
||||||
- 27017
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue