change to mongo 3.4

This commit is contained in:
Stephen Moloney 2017-01-17 16:45:11 +00:00
parent 692f5fb10c
commit 250650f46a

View file

@ -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