This commit is contained in:
godd0t 2023-05-10 12:18:11 +02:00
parent f0e721955c
commit 675a2f5118

View File

@ -16,7 +16,7 @@ services:
- static_files:/usr/src/app/static - static_files:/usr/src/app/static
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.${APP_NAME}-backend.rule=Host(`${APP_HOST}`)" - "traefik.http.routers.${APP_NAME}-backend.rule=Host(`${APP_DOMAIN}`)"
- "traefik.http.routers.${APP_NAME}-backend.entrypoints=web-secure" - "traefik.http.routers.${APP_NAME}-backend.entrypoints=web-secure"
- "traefik.http.services.${APP_NAME}-backend.loadbalancer.server.port=${APP_PORT}" - "traefik.http.services.${APP_NAME}-backend.loadbalancer.server.port=${APP_PORT}"
- "traefik.http.routers.${APP_NAME}-backend.tls.certresolver=letsencrypt" - "traefik.http.routers.${APP_NAME}-backend.tls.certresolver=letsencrypt"