feat(Traefik): Add variable to configure traefik entrypoints name
This commit is contained in:
parent
185dc32625
commit
57283af5af
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue