2024-05-25 10:57:05 +02:00
|
|
|
x-environment:
|
|
|
|
&default-back-environment
|
|
|
|
# These environment variables will be used by taiga-back and taiga-async.
|
|
|
|
# Database settings
|
2024-05-25 20:23:06 +02:00
|
|
|
POSTGRES_DB: "{{database_name}}"
|
2024-05-25 10:57:05 +02:00
|
|
|
POSTGRES_USER: "${POSTGRES_USER}"
|
|
|
|
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
2024-05-25 20:23:06 +02:00
|
|
|
POSTGRES_HOST: "{{database_host}}"
|
|
|
|
|
2024-05-25 10:57:05 +02:00
|
|
|
# Taiga settings
|
|
|
|
TAIGA_SECRET_KEY: "${SECRET_KEY}"
|
|
|
|
TAIGA_SITES_SCHEME: "${TAIGA_SCHEME}"
|
|
|
|
TAIGA_SITES_DOMAIN: "${TAIGA_DOMAIN}"
|
|
|
|
TAIGA_SUBPATH: "${SUBPATH}"
|
|
|
|
# Email settings.
|
|
|
|
EMAIL_BACKEND: "django.core.mail.backends.${EMAIL_BACKEND}.EmailBackend"
|
|
|
|
DEFAULT_FROM_EMAIL: "${EMAIL_DEFAULT_FROM}"
|
|
|
|
EMAIL_USE_TLS: "${EMAIL_USE_TLS}"
|
|
|
|
EMAIL_USE_SSL: "${EMAIL_USE_SSL}"
|
|
|
|
EMAIL_HOST: "${EMAIL_HOST}"
|
|
|
|
EMAIL_PORT: "${EMAIL_PORT}"
|
|
|
|
EMAIL_HOST_USER: "${EMAIL_HOST_USER}"
|
|
|
|
EMAIL_HOST_PASSWORD: "${EMAIL_HOST_PASSWORD}"
|
|
|
|
# Rabbitmq settings
|
|
|
|
RABBITMQ_USER: "${RABBITMQ_USER}"
|
|
|
|
RABBITMQ_PASS: "${RABBITMQ_PASS}"
|
|
|
|
# Telemetry settings
|
|
|
|
ENABLE_TELEMETRY: "${ENABLE_TELEMETRY}"
|
|
|
|
# ...your customizations go here
|
|
|
|
|
|
|
|
x-volumes:
|
|
|
|
&default-back-volumes
|
|
|
|
# These volumens will be used by taiga-back and taiga-async.
|
2024-05-26 21:20:50 +02:00
|
|
|
- static-data:/taiga-back/static
|
|
|
|
- media-data:/taiga-back/media
|
2024-05-25 10:57:05 +02:00
|
|
|
# - ./config.py:/taiga-back/settings/config.py
|
|
|
|
|
|
|
|
services:
|
2024-05-25 20:23:06 +02:00
|
|
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
2024-05-27 00:07:51 +02:00
|
|
|
taiga-back:
|
2024-05-27 01:05:43 +02:00
|
|
|
restart: {{docker_restart_policy}}
|
|
|
|
logging:
|
|
|
|
driver: journald
|
2024-05-25 10:57:05 +02:00
|
|
|
image: taigaio/taiga-back:latest
|
|
|
|
environment: *default-back-environment
|
|
|
|
volumes: *default-back-volumes
|
2024-05-25 20:23:06 +02:00
|
|
|
|
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
taiga:
|
|
|
|
|
|
|
|
{% include 'templates/docker/container/depends-on-also-database.yml.j2' %}
|
2024-05-27 01:05:43 +02:00
|
|
|
taiga-events-rabbitmq:
|
2024-05-25 10:57:05 +02:00
|
|
|
condition: service_started
|
|
|
|
taiga-async-rabbitmq:
|
|
|
|
condition: service_started
|
|
|
|
|
|
|
|
taiga-async:
|
2024-05-27 01:05:43 +02:00
|
|
|
restart: {{docker_restart_policy}}
|
|
|
|
logging:
|
|
|
|
driver: journald
|
2024-05-25 10:57:05 +02:00
|
|
|
image: taigaio/taiga-back:latest
|
|
|
|
entrypoint: ["/taiga-back/docker/async_entrypoint.sh"]
|
|
|
|
environment: *default-back-environment
|
|
|
|
volumes: *default-back-volumes
|
2024-05-25 20:23:06 +02:00
|
|
|
|
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
taiga:
|
|
|
|
|
|
|
|
{% include 'templates/docker/container/depends-on-also-database.yml.j2' %}
|
2024-05-27 01:05:43 +02:00
|
|
|
taiga-events-rabbitmq:
|
2024-05-25 10:57:05 +02:00
|
|
|
condition: service_started
|
|
|
|
taiga-async-rabbitmq:
|
|
|
|
condition: service_started
|
|
|
|
|
|
|
|
taiga-async-rabbitmq:
|
|
|
|
image: rabbitmq:3.8-management-alpine
|
|
|
|
environment:
|
|
|
|
RABBITMQ_ERLANG_COOKIE: "${RABBITMQ_ERLANG_COOKIE}"
|
|
|
|
RABBITMQ_DEFAULT_USER: "${RABBITMQ_USER}"
|
|
|
|
RABBITMQ_DEFAULT_PASS: "${RABBITMQ_PASS}"
|
|
|
|
RABBITMQ_DEFAULT_VHOST: "${RABBITMQ_VHOST}"
|
|
|
|
hostname: "taiga-async-rabbitmq"
|
|
|
|
volumes:
|
2024-05-26 21:20:50 +02:00
|
|
|
- async-rabbitmq-data:/var/lib/rabbitmq
|
2024-05-27 01:05:43 +02:00
|
|
|
restart: {{docker_restart_policy}}
|
|
|
|
logging:
|
|
|
|
driver: journald
|
2024-05-25 20:23:06 +02:00
|
|
|
|
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
taiga:
|
2024-05-25 10:57:05 +02:00
|
|
|
|
2024-05-27 00:07:51 +02:00
|
|
|
taiga-front:
|
2024-05-25 10:57:05 +02:00
|
|
|
image: taigaio/taiga-front:latest
|
|
|
|
environment:
|
|
|
|
TAIGA_URL: "${TAIGA_SCHEME}://${TAIGA_DOMAIN}"
|
|
|
|
TAIGA_WEBSOCKETS_URL: "${WEBSOCKETS_SCHEME}://${TAIGA_DOMAIN}"
|
|
|
|
TAIGA_SUBPATH: "${SUBPATH}"
|
|
|
|
# ...your customizations go here
|
2024-05-27 01:05:43 +02:00
|
|
|
restart: {{docker_restart_policy}}
|
|
|
|
logging:
|
|
|
|
driver: journald
|
2024-05-25 20:23:06 +02:00
|
|
|
|
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
taiga:
|
2024-05-25 10:57:05 +02:00
|
|
|
# volumes:
|
|
|
|
# - ./conf.json:/usr/share/nginx/html/conf.json
|
|
|
|
|
2024-05-27 00:07:51 +02:00
|
|
|
taiga-events:
|
2024-05-25 10:57:05 +02:00
|
|
|
image: taigaio/taiga-events:latest
|
|
|
|
environment:
|
|
|
|
RABBITMQ_USER: "${RABBITMQ_USER}"
|
|
|
|
RABBITMQ_PASS: "${RABBITMQ_PASS}"
|
|
|
|
TAIGA_SECRET_KEY: "${SECRET_KEY}"
|
2024-05-27 01:05:43 +02:00
|
|
|
restart: {{docker_restart_policy}}
|
|
|
|
logging:
|
|
|
|
driver: journald
|
2024-05-25 20:23:06 +02:00
|
|
|
|
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
taiga:
|
2024-05-25 10:57:05 +02:00
|
|
|
depends_on:
|
2024-05-27 01:05:43 +02:00
|
|
|
taiga-events-rabbitmq:
|
2024-05-25 10:57:05 +02:00
|
|
|
condition: service_started
|
|
|
|
|
2024-05-27 01:05:43 +02:00
|
|
|
taiga-events-rabbitmq:
|
2024-05-25 10:57:05 +02:00
|
|
|
image: rabbitmq:3.8-management-alpine
|
|
|
|
environment:
|
|
|
|
RABBITMQ_ERLANG_COOKIE: "${RABBITMQ_ERLANG_COOKIE}"
|
|
|
|
RABBITMQ_DEFAULT_USER: "${RABBITMQ_USER}"
|
|
|
|
RABBITMQ_DEFAULT_PASS: "${RABBITMQ_PASS}"
|
|
|
|
RABBITMQ_DEFAULT_VHOST: "${RABBITMQ_VHOST}"
|
2024-05-26 21:20:50 +02:00
|
|
|
hostname: "events-rabbitmq"
|
2024-05-25 10:57:05 +02:00
|
|
|
volumes:
|
2024-05-26 21:20:50 +02:00
|
|
|
- events-rabbitmq-data:/var/lib/rabbitmq
|
2024-05-27 01:05:43 +02:00
|
|
|
restart: {{docker_restart_policy}}
|
|
|
|
logging:
|
|
|
|
driver: journald
|
2024-05-25 20:23:06 +02:00
|
|
|
|
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
taiga:
|
2024-05-25 10:57:05 +02:00
|
|
|
|
|
|
|
taiga-protected:
|
|
|
|
image: taigaio/taiga-protected:latest
|
|
|
|
environment:
|
|
|
|
MAX_AGE: "${ATTACHMENTS_MAX_AGE}"
|
|
|
|
SECRET_KEY: "${SECRET_KEY}"
|
2024-05-27 01:05:43 +02:00
|
|
|
restart: {{docker_restart_policy}}
|
|
|
|
logging:
|
|
|
|
driver: journald
|
2024-05-25 20:23:06 +02:00
|
|
|
|
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
taiga:
|
2024-05-25 10:57:05 +02:00
|
|
|
|
|
|
|
taiga-gateway:
|
|
|
|
image: nginx:1.19-alpine
|
|
|
|
ports:
|
2024-05-27 00:29:54 +02:00
|
|
|
- "{{http_port}}:80"
|
2024-05-25 10:57:05 +02:00
|
|
|
volumes:
|
|
|
|
- ./taiga-gateway/taiga.conf:/etc/nginx/conf.d/default.conf
|
2024-05-26 21:20:50 +02:00
|
|
|
- static-data:/taiga/static
|
|
|
|
- media-data:/taiga/media
|
2024-05-27 01:05:43 +02:00
|
|
|
restart: {{docker_restart_policy}}
|
|
|
|
logging:
|
|
|
|
driver: journald
|
2024-05-25 20:23:06 +02:00
|
|
|
|
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
taiga:
|
2024-05-25 10:57:05 +02:00
|
|
|
depends_on:
|
2024-05-27 00:07:51 +02:00
|
|
|
- taiga-front
|
|
|
|
- taiga-back
|
|
|
|
- taiga-events
|
2024-05-25 10:57:05 +02:00
|
|
|
|
2024-05-25 20:23:06 +02:00
|
|
|
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
2024-05-26 21:20:50 +02:00
|
|
|
static-data:
|
|
|
|
media-data:
|
|
|
|
async-rabbitmq-data:
|
|
|
|
events-rabbitmq-data:
|
2024-05-25 10:57:05 +02:00
|
|
|
|
2024-05-25 20:23:06 +02:00
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %}
|
2024-05-26 22:49:31 +02:00
|
|
|
taiga:
|