feat(Directus): Add variable for Traefik router name
This commit is contained in:
parent
6c4c387234
commit
d1b92e0a17
|
@ -40,7 +40,7 @@ services:
|
||||||
PUID: ${DIRECTUS_PUID:-1000}
|
PUID: ${DIRECTUS_PUID:-1000}
|
||||||
PGID: ${DIRECTUS_PGID:-1000}
|
PGID: ${DIRECTUS_PGID:-1000}
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: 'true'
|
- traefik.enable=true
|
||||||
traefik.docker.network: ${TRAEFIK_NETWORK_NAME:-traefik}
|
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
||||||
traefik.http.routers.directus.rule: 'Host(`${DIRECTUS_DOMAIN:?err}`)'
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-directus}.rule=Host(`${DIRECTUS_DOMAIN:?err}`)
|
||||||
traefik.http.routers.directus.entrypoints: 'web'
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-directus}.entrypoints=web
|
||||||
|
|
Loading…
Reference in New Issue