wekan/docker-compose.yml

75 lines
2.3 KiB
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:
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
2017-01-17 08:49:42 +00:00
wekan:
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:
# Docker outsideport:insideport
- 80:8080
2017-01-17 08:49:42 +00:00
environment:
- MONGO_URL=mongodb://wekandb:27017/wekan
2018-04-04 17:36:19 +03:00
- ROOT_URL=http://localhost
# Wekan Export Board works when WITH_API='true'.
# If you disable Wekan API with 'false', Export Board does not work.
2018-08-14 18:43:09 +03:00
- WITH_API=true
2018-08-01 21:45:11 +03:00
# Optional: Integration with Matomo https://matomo.org that is installed to your server
# The address of the server where Matomo is hosted.
# example: - MATOMO_ADDRESS=https://example.com/matomo
- MATOMO_ADDRESS=''
2018-08-01 22:04:33 +03:00
# The value of the site ID given in Matomo server for Wekan
# example: - MATOMO_SITE_ID=12345
- MATOMO_SITE_ID=''
# The option do not track which enables users to not be tracked by matomo
# example: - MATOMO_DO_NOT_TRACK=false
- MATOMO_DO_NOT_TRACK=true
2018-08-01 22:04:33 +03:00
# The option that allows matomo to retrieve the username:
# example: MATOMO_WITH_USERNAME=true
- MATOMO_WITH_USERNAME=false
# Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.
# Setting this to false is not recommended, it also disables all other browser policy protections
# and allows all iframing etc. See wekan/server/policy.js
2018-08-14 18:43:09 +03:00
- BROWSER_POLICY_ENABLED=true
# When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
2018-08-14 17:09:46 +03:00
- TRUSTED_URL=''
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