mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
change to mongo 3.4
This commit is contained in:
parent
692f5fb10c
commit
250650f46a
1 changed files with 11 additions and 3 deletions
|
|
@ -3,10 +3,12 @@ version: '2'
|
||||||
services:
|
services:
|
||||||
|
|
||||||
wekandb:
|
wekandb:
|
||||||
image: mongo:latest
|
image: mongo:3.4
|
||||||
container_name: wekan-db
|
container_name: wekan-db
|
||||||
restart: always
|
restart: always
|
||||||
command: mongod --smallfiles --oplogSize 128
|
command: mongod --smallfiles --oplogSize 128
|
||||||
|
networks:
|
||||||
|
- wekan-tier
|
||||||
expose:
|
expose:
|
||||||
- 27017
|
- 27017
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -17,6 +19,8 @@ services:
|
||||||
image: wefork/wekan
|
image: wefork/wekan
|
||||||
container_name: wekan-app
|
container_name: wekan-app
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- wekan-tier
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|
@ -31,11 +35,15 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- MONGO_URL=mongodb://wekandb:27017/wekan
|
- MONGO_URL=mongodb://wekandb:27017/wekan
|
||||||
- ROOT_URL=http://localhost
|
- ROOT_URL=http://localhost
|
||||||
links:
|
|
||||||
- wekandb
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- wekandb
|
- wekandb
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
wekan-db:
|
wekan-db:
|
||||||
driver: local
|
driver: local
|
||||||
|
wekan-db-dump:
|
||||||
|
driver: local
|
||||||
|
|
||||||
|
networks:
|
||||||
|
wekan-tier:
|
||||||
|
driver: bridge
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue