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:
|
2018-05-19 17:05:28 +03:00
|
|
|
image: mongo:3.2.20
|
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
|
2015-09-06 19:19:34 +02:00
|
|
|
|
2017-01-17 08:49:42 +00:00
|
|
|
wekan:
|
2018-04-04 14:22:59 +03:00
|
|
|
image: quay.io/wekan/wekan
|
2017-01-17 08:49:42 +00:00
|
|
|
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:
|
2017-01-17 22:44:03 +00:00
|
|
|
- NODE_VERSION=${NODE_VERSION}
|
|
|
|
- METEOR_RELEASE=${METEOR_RELEASE}
|
|
|
|
- NPM_VERSION=${NPM_VERSION}
|
|
|
|
- ARCHITECTURE=${ARCHITECTURE}
|
|
|
|
- SRC_PATH=${SRC_PATH}
|
2017-04-28 10:59:38 +01:00
|
|
|
- METEOR_EDGE=${METEOR_EDGE}
|
|
|
|
- USE_EDGE=${USE_EDGE}
|
2017-01-17 08:49:42 +00:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
environment:
|
|
|
|
- MONGO_URL=mongodb://wekandb:27017/wekan
|
2018-04-04 17:36:19 +03:00
|
|
|
- ROOT_URL=http://localhost
|
2018-08-01 21:21:14 +03:00
|
|
|
# Wekan Export Board works when WITH_API='true'.
|
|
|
|
# If you disable Wekan API with 'false', Export Board does not work.
|
|
|
|
- WITH_API=true
|
2018-08-01 21:45:11 +03:00
|
|
|
# Optional: Integration with Matomo https://matomo.org that is installed to your server
|
|
|
|
# - MATOMO_ADDRESS='https://example.com/matomo'
|
|
|
|
# - MATOMO_SITE_ID='123456789'
|
|
|
|
|
2017-01-17 08:49:42 +00:00
|
|
|
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
|