feat(Traefik): Add variable to configure traefik entrypoints name

This commit is contained in:
Simon 2021-11-24 16:31:11 +01:00
parent 185dc32625
commit 57283af5af
1 changed files with 3 additions and 3 deletions

View File

@ -40,10 +40,10 @@ services:
- --entryPoints.${TRAEFIK_ROUTER_NAME:-traefik}.address=:8080
- --entrypoints.web.address=:80
- --entryPoints.web.forwardedHeaders.insecure
- --entrypoints.${TRAEFIK_ENTRYPOINTS:-web}.address=:80
- --entryPoints.${TRAEFIK_ENTRYPOINTS:-web}.forwardedHeaders.insecure
labels:
- traefik.enable=true
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-traefik}.rule=Host(`${TRAEFIK_DOMAIN:?err}`)
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-traefik}.entrypoints=web
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-traefik}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
- traefik.http.services.${TRAEFIK_ROUTER_NAME:-traefik}.loadbalancer.server.port=8080