Skip to content

Commit

Permalink
fix compose
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Feb 8, 2025
1 parent a92492f commit 631fdf5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docker/compose.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,16 @@ services:
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
- "traefik.http.routers.http-webapp.entryPoints=http"
- "traefik.http.routers.http-webapp.middlewares=redirect-to-https"
- "traefik.http.routers.http-webapp.rule=Host(`${APP_HOSTNAME}`)"
- "traefik.http.routers.http-webapp.rule=Host(`${APP_HOSTNAME}`) && PathPrefix(`/`)"
- "traefik.http.routers.http-webapp.service=http-webapp"
- "traefik.http.routers.https-webapp.entryPoints=https"
- "traefik.http.routers.https-webapp.rule=Host(`${APP_HOSTNAME}`)"
- "traefik.http.routers.https-webapp.middlewares=gzip"
- "traefik.http.routers.https-webapp.rule=Host(`${APP_HOSTNAME}`) && PathPrefix(`/`)"
- "traefik.http.routers.https-webapp.service=https-webapp"
- "traefik.http.routers.https-webapp.tls.certresolver=letsencrypt"
- "traefik.http.routers.https-webapp.tls=true"
- "traefik.http.services.http-webapp.loadbalancer.server.port=80"
- "traefik.http.services.https-webapp.loadbalancer.server.port=80"
- "traefik.http.routers.http-webapp.priority=2"
- "traefik.http.routers.https-webapp.priority=3"
healthcheck:
Expand Down Expand Up @@ -85,11 +90,13 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.gzip.compress=true"
- "traefik.http.middlewares.https-application-server-stripprefix.stripprefix.prefixes=/api"
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
- "traefik.http.routers.http-application-server.entryPoints=http"
- "traefik.http.routers.http-application-server.middlewares=redirect-to-https"
- "traefik.http.routers.http-application-server.rule=Host(`${APP_HOSTNAME}`) && PathPrefix(`/api`)"
- "traefik.http.routers.https-application-server.entryPoints=https"
- "traefik.http.routers.https-application-server.middlewares=https-application-server-stripprefix,gzip"
- "traefik.http.routers.https-application-server.rule=Host(`${APP_HOSTNAME}`) && PathPrefix(`/api`)"
- "traefik.http.routers.https-application-server.tls.certresolver=letsencrypt"
- "traefik.http.routers.https-application-server.tls=true"
Expand Down

0 comments on commit 631fdf5

Please sign in to comment.