expose port for chill and add missing variables and parameters
This commit is contained in:
parent
6019e649e9
commit
bf2e38ad51
@ -6,9 +6,13 @@ services:
|
||||
- app:php
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.frontend.rule=Host(`{{ item.host }}`)"
|
||||
- "traefik.http.routers.frontend.entrypoints=web"
|
||||
- "traefik.http.routers.frontend-{{ item.chill_environment }}.rule=Host(`{{ item.host }}`)"
|
||||
- "traefik.http.routers.frontend-{{ item.chill_environment }}.entrypoints=web"
|
||||
- "traefik.docker.network=traefik"
|
||||
{% if item.expose_port is not false -%}
|
||||
ports:
|
||||
- "{{ item.expose_port }}:80"
|
||||
{% endif -%}
|
||||
networks:
|
||||
- traefik
|
||||
- default
|
||||
|
@ -26,6 +26,15 @@ ASYNC_UPLOAD_TEMP_URL_KEY=
|
||||
DEFAULT_CARRIER_CODE=FR
|
||||
APP_SECRET={{ item.chill_config.app_secret }}
|
||||
ADMIN_PASSWORD={{ item.chill_config.admin_password }}
|
||||
{% if item.chill_config.admin_password_1 is defined -%}
|
||||
ADMIN_PASSWORD_1={{ item.chill_config.admin_password_1 }}
|
||||
{% endif -%}
|
||||
{% if item.chill_config.admin_password_2 is defined -%}
|
||||
ADMIN_PASSWORD_2={{ item.chill_config.admin_password_2 }}
|
||||
{% endif -%}
|
||||
{% if item.chill_config.admin_password_3 is defined -%}
|
||||
ADMIN_PASSWORD_3={{ item.chill_config.admin_password_3 }}
|
||||
{% endif -%}
|
||||
MAILER_DSN={{ item.chill_config.mailer_dsn }}
|
||||
MAILER_URL={{ item.chill_config.mailer_url }}
|
||||
JWT_PASSPHRASE={{ item.chill_config.jwt_passphrase }}
|
||||
|
@ -4,8 +4,12 @@ services:
|
||||
image: traefik:v3.2
|
||||
# Enables the web UI and tells Traefik to listen to docker
|
||||
command:
|
||||
{% if traefik_debug|default(False) -%}
|
||||
- "--log.level=debug"
|
||||
{% endif -%}
|
||||
{% if traefik_insecure|default(False) -%}
|
||||
- "--api.insecure=true"
|
||||
{% endif -%}
|
||||
- "--providers.docker=true"
|
||||
- "--providers.docker.exposedByDefault=false"
|
||||
- "--entryPoints.web.address=:80"
|
||||
|
Loading…
Reference in New Issue
Block a user