fix(Traefik): Remove variable for traefik router name
This commit is contained in:
parent
514ba4bd42
commit
563ce1ed90
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue