wekan/docker-compose.yml
2017-01-17 08:49:42 +00:00

41 lines
816 B
YAML

version: '2'
services:
wekandb:
image: mongo:latest
container_name: wekan-db
restart: always
command: mongod --smallfiles --oplogSize 128
expose:
- 27017
volumes:
- wekan-db:/data/db
- wekan-db-dump:/dump
wekan:
image: wefork/wekan
container_name: wekan-app
restart: always
build:
context: .
dockerfile: Dockerfile
args:
- node_version=${NODE_VERSION}
- meteor_release=${METEOR_RELEASE}
- npm_version=${NPM_VERSION}
- architecture=${ARCHITECTURE}
- src_path=${SRC_PATH}
ports:
- 80:80
environment:
- MONGO_URL=mongodb://wekandb:27017/wekan
- ROOT_URL=http://localhost
links:
- wekandb
depends_on:
- wekandb
volumes:
wekan-db:
driver: local