Created
August 17, 2019 19:15
-
-
Save zicklag/c69452b872b39561e94077bc71ba8367 to your computer and use it in GitHub Desktop.
Taiga Docker Swarm Stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.5' | |
services: | |
taiga: | |
image: quay.io/riotkit/taiga:4.2.7 | |
networks: | |
- default | |
- webgateway | |
volumes: | |
- media:/usr/src/taiga-back/media | |
environment: | |
TAIGA_SECRET_KEY: secret | |
TAIGA_HOSTNAME: taiga.example.com | |
TAIGA_SCHEME: https | |
TAIGA_DB_NAME: taiga | |
TAIGA_DB_USER: taiga | |
TAIGA_DB_HOST: postgres | |
TAIGA_DB_PASSWORD: ${DB_PASSWORD} | |
TAIGA_ENABLE_EMAIL: 'True' | |
TAIGA_EMAIL_FROM: [email protected] | |
TAIGA_EMAIL_USE_TLS: 'True' | |
TAIGA_EMAIL_HOST: smtp.example.com | |
TAIGA_EMAIL_PORT: 465 | |
TAIGA_EMAIL_USER: [email protected] | |
TAIGA_EMAIL_PASS: password | |
deploy: | |
labels: | |
- "traefik.docker.network=webgateway" | |
- "traefik.frontend.rule=Host:taiga.example.com" | |
- "traefik.enable=true" | |
- "traefik.port=80" | |
postgres: | |
image: postgres | |
environment: | |
POSTGRES_DB: taiga | |
POSTGRES_USER: taiga | |
POSTGRES_PASSWORD: ${DB_PASSWORD} | |
volumes: | |
- postgres:/var/lib/postgresql/data | |
volumes: | |
postgres: | |
driver: ${VOLUME_DRIVER} | |
media: | |
driver: ${VOLUME_DRIVER} | |
networks: | |
webgateway: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment