refactor(Traefik): Change syntax to accept variable
This commit is contained in:
parent
5bf6a8630c
commit
b40f9ddde2
|
@ -43,9 +43,7 @@ services:
|
||||||
- --entrypoints.web.address=:80
|
- --entrypoints.web.address=:80
|
||||||
- --entryPoints.web.forwardedHeaders.insecure
|
- --entryPoints.web.forwardedHeaders.insecure
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: 'true'
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:?err}`)
|
||||||
traefik.http.routers.traefik.rule: 'Host(`${TRAEFIK_DOMAIN:?err}`)'
|
- traefik.http.routers.traefik.entrypoints=web
|
||||||
traefik.http.routers.traefik.entrypoints: 'web'
|
- traefik.http.services.traefik.loadbalancer.server.port=8080
|
||||||
|
|
||||||
traefik.http.services.traefik.loadbalancer.server.port: '8080'
|
|
||||||
|
|
Loading…
Reference in New Issue