fix(Traefik): Remove variable for traefik router name

This commit is contained in:
Simon 2021-11-24 16:49:51 +01:00
parent 514ba4bd42
commit 563ce1ed90
1 changed files with 4 additions and 4 deletions

View File

@ -38,12 +38,12 @@ services:
- --providers.docker.exposedbydefault=false - --providers.docker.exposedbydefault=false
- --providers.docker.network=${TRAEFIK_NETWORK_NAME:-traefik} - --providers.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
- --entryPoints.${TRAEFIK_ROUTER_NAME:-traefik}.address=:8080 - --entryPoints.traefik.address=:8080
- --entrypoints.${TRAEFIK_ENTRYPOINTS:-web}.address=:80 - --entrypoints.${TRAEFIK_ENTRYPOINTS:-web}.address=:80
- --entryPoints.${TRAEFIK_ENTRYPOINTS:-web}.forwardedHeaders.insecure - --entryPoints.${TRAEFIK_ENTRYPOINTS:-web}.forwardedHeaders.insecure
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-traefik}.rule=Host(`${TRAEFIK_DOMAIN:?err}`) - traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:?err}`)
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-traefik}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web} - traefik.http.routers.traefik.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
- traefik.http.services.${TRAEFIK_ROUTER_NAME:-traefik}.loadbalancer.server.port=8080 - traefik.http.services.traefik.loadbalancer.server.port=8080