Skip to content

Commit

Permalink
Tweaked production compose template file
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogsilva committed Dec 17, 2024
1 parent a573b0d commit 2a9717d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docker/compose.production.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,19 @@ services:
- "traefik.http.routers.router-arpav-backend.tls=true"
- "traefik.http.routers.router-arpav-backend.tls.certificates.certFile=/run/secrets/tls-cert"
- "traefik.http.routers.router-arpav-backend.tls.certificates.keyFile=/run/secrets/tls-key"
- 'traefik.http.routers.router-arpav-backend.rule=HostRegexp(`^(.+\.)?clima\.arpa\.veneto.it$$`)'
- 'traefik.http.routers.router-arpav-backend.rule=HostRegexp(`^(.+\.)?clima(-tolgee)?\.arpa\.veneto.it$$`)'
configs:
- source: traefik-conf
target: /traefik.toml
secrets:
- tls-cert
- tls-key
- traefik-users-file
ports:
- target: 80
published: 80
- target: 443
published: 443
restart: unless-stopped

frontend:
Expand Down Expand Up @@ -132,7 +137,7 @@ services:
image: "tolgee/tolgee:${tolgee_app_image_tag}"
labels:
- "traefik.http.routers.arpav-frontend.entrypoints=web"
- "traefik.http.routers.tolgee-app-router.rule=Host(`tolgee.clima.arpa.veneto.it`) && PathPrefix(`/`)"
- "traefik.http.routers.tolgee-app-router.rule=Host(`clima-tolgee.arpa.veneto.it`) && PathPrefix(`/`)"
environment:
SERVER_PORT: "${tolgee_app_env_server_port}"
SPRING_DATASOURCE_URL: "${tolgee_app_env_server_spring_datasource_url}"
Expand Down

0 comments on commit 2a9717d

Please sign in to comment.