wekan/docker-compose.yml

50 lines
931 B
YAML
Raw Normal View History

2017-01-17 08:49:42 +00:00
version: '2'
2016-01-03 16:03:57 +01:00
2017-01-17 08:49:42 +00:00
services:
2016-01-03 16:03:57 +01:00
2017-01-17 08:49:42 +00:00
wekandb:
2017-01-17 16:45:11 +00:00
image: mongo:3.4
2017-01-17 08:49:42 +00:00
container_name: wekan-db
restart: always
command: mongod --smallfiles --oplogSize 128
2017-01-17 16:45:11 +00:00
networks:
- wekan-tier
2017-01-17 08:49:42 +00:00
expose:
- 27017
volumes:
- wekan-db:/data/db
- wekan-db-dump:/dump
2017-01-17 08:49:42 +00:00
wekan:
image: wefork/wekan
container_name: wekan-app
restart: always
2017-01-17 16:45:11 +00:00
networks:
- wekan-tier
2017-01-17 08:49:42 +00:00
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
depends_on:
- wekandb
volumes:
wekan-db:
driver: local
2017-01-17 16:45:11 +00:00
wekan-db-dump:
driver: local
networks:
wekan-tier:
driver: bridge