mirror of
https://github.com/brmlab/brmkan.git
synced 2025-06-07 19:34:00 +02:00
88 lines
3.4 KiB
YAML
88 lines
3.4 KiB
YAML
version: '2'
|
|
|
|
services:
|
|
wekandb:
|
|
image: mongo:3.2.20
|
|
container_name: wekan-db
|
|
restart: always
|
|
command: mongod --smallfiles --oplogSize 128
|
|
networks:
|
|
- wekan-tier
|
|
expose:
|
|
- 27017
|
|
volumes:
|
|
- wekan-db:/data/db
|
|
- wekan-db-dump:/dump
|
|
|
|
wekan:
|
|
# Docker Hub, usually broken:
|
|
#image: wekanteam/wekan:latest
|
|
#
|
|
# Quay, usually works, updates faster:
|
|
image: quay.io/wekan/wekan
|
|
container_name: wekan-app
|
|
restart: always
|
|
networks:
|
|
- wekan-tier
|
|
# Check nginx proxy port redirection and set same to map it to xxxx:8080 in container
|
|
ports:
|
|
- 3000:8080
|
|
environment:
|
|
# Change ROOT_URL to your real Wekan URL:
|
|
- ROOT_URL=https://brmkan.malanius.net
|
|
# MongoDB adress
|
|
- MONGO_URL=mongodb://wekandb:27017/wekan
|
|
# == EMAIL SETTINGS ==
|
|
# Email settings are required in both MAIL_URL and Admin Panel,
|
|
# see https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
|
|
# For SSL in email, change smtp:// to smtps://
|
|
# NOTE: Special characters need to be url-encoded in MAIL_URL.
|
|
# To disable mailing service comment out these params
|
|
#---------------------------------------------------------------
|
|
- MAIL_URL=smtps://(user):(password)@(smtp_server):(smtp_port)/
|
|
- MAIL_FROM='Brmlab Wekan test <(user)@(mail_service)>'
|
|
# == WEKAN API ==
|
|
- WITH_API=true
|
|
# 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
|
|
- BROWSER_POLICY_ENABLED=true
|
|
# When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
|
|
- TRUSTED_URL=''
|
|
#---------------------------------------------------------------
|
|
# What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId .
|
|
# example: WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId
|
|
- WEBHOOKS_ATTRIBUTES=''
|
|
#---------------------------------------------------------------
|
|
# OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2
|
|
# OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345
|
|
# example: OAUTH2_CLIENT_ID=abcde12345
|
|
- OAUTH2_CLIENT_ID=''
|
|
# OAuth2 Secret, for example from Rocket.Chat: Example: 54321abcde
|
|
# example: OAUTH2_SECRET=54321abcde
|
|
- OAUTH2_SECRET=''
|
|
# OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com
|
|
# example: OAUTH2_SERVER_URL=https://chat.example.com
|
|
- OAUTH2_SERVER_URL=''
|
|
# OAuth2 Authorization Endpoint. Example: /oauth/authorize
|
|
# example: OAUTH2_AUTH_ENDPOINT=/oauth/authorize
|
|
- OAUTH2_AUTH_ENDPOINT=''
|
|
# OAuth2 Userinfo Endpoint. Example: /oauth/userinfo
|
|
# example: OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo
|
|
- OAUTH2_USERINFO_ENDPOINT=''
|
|
# OAuth2 Token Endpoint. Example: /oauth/token
|
|
# example: OAUTH2_TOKEN_ENDPOINT=/oauth/token
|
|
- OAUTH2_TOKEN_ENDPOINT=''
|
|
#---------------------------------------------------------------
|
|
depends_on:
|
|
- wekandb
|
|
|
|
volumes:
|
|
wekan-db:
|
|
driver: local
|
|
wekan-db-dump:
|
|
driver: local
|
|
|
|
networks:
|
|
wekan-tier:
|
|
driver: bridge
|