mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04: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:
|
||||
|
||||
wekandb:
|
||||
image: mongo:latest
|
||||
image: mongo:3.4
|
||||
container_name: wekan-db
|
||||
restart: always
|
||||
command: mongod --smallfiles --oplogSize 128
|
||||
networks:
|
||||
- wekan-tier
|
||||
expose:
|
||||
- 27017
|
||||
volumes:
|
||||
|
@ -17,6 +19,8 @@ services:
|
|||
image: wefork/wekan
|
||||
container_name: wekan-app
|
||||
restart: always
|
||||
networks:
|
||||
- wekan-tier
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
@ -31,11 +35,15 @@ services:
|
|||
environment:
|
||||
- MONGO_URL=mongodb://wekandb:27017/wekan
|
||||
- ROOT_URL=http://localhost
|
||||
links:
|
||||
- wekandb
|
||||
depends_on:
|
||||
- wekandb
|
||||
|
||||
volumes:
|
||||
wekan-db:
|
||||
driver: local
|
||||
wekan-db-dump:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
wekan-tier:
|
||||
driver: bridge
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue