Merge pull request 'fix(Traefik): Remove variable for traefik router name' (#11) from traefik into main

Reviewed-on: https://git.weko.io/resilien/services/pulls/11
This commit is contained in:
Simon 2021-11-24 16:51:53 +01:00
commit a364dce66c
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