expose port for chill and add missing variables and parameters

This commit is contained in:
2024-12-20 13:13:44 +01:00
parent 6019e649e9
commit bf2e38ad51
3 changed files with 20 additions and 3 deletions

View File

@@ -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