Update label syntax and add ROUTER variable
This commit is contained in:
parent
646c884639
commit
398eb48d31
@ -28,12 +28,12 @@ services:
|
|||||||
- "${WEBSECURE_PORT:-0.0.0.0:443:443}"
|
- "${WEBSECURE_PORT:-0.0.0.0:443:443}"
|
||||||
- "${LOCAL_PORT:-127.0.0.1:8443:8443}"
|
- "${LOCAL_PORT:-127.0.0.1:8443:8443}"
|
||||||
labels:
|
labels:
|
||||||
traefik.http.routers.traefik.rule: Host(`${DOMAIN:-traefik.local.krislamo.org}`)
|
- "traefik.http.routers.${ROUTER:-traefik}.rule=Host(`${DOMAIN:-traefik.local.krislamo.org}`)"
|
||||||
traefik.http.routers.traefik.service: api@internal
|
- "traefik.http.routers.${ROUTER:-traefik}.service=api@internal"
|
||||||
traefik.http.routers.traefik.entrypoints: ${ENTRYPOINT:-local}
|
- "traefik.http.routers.${ROUTER:-traefik}.entrypoints=${ENTRYPOINT:-local}"
|
||||||
traefik.http.routers.traefik.tls: true
|
- "traefik.http.routers.${ROUTER:-traefik}.tls=true"
|
||||||
traefik.docker.network: ${NETWORK:-traefik}
|
- "traefik.docker.network=${NETWORK:-traefik}"
|
||||||
traefik.enable: ${ENABLE:-false}
|
- "traefik.enable=${ENABLE:-false}"
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user