2021-12-31 13:48:56 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: ${TRAEFIK_NETWORK_NAME:-traefik}
|
2023-07-17 12:33:30 +02:00
|
|
|
external: true
|
2021-12-31 13:48:56 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
directus:
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-directus}.rule=Host(`${DIRECTUS_DOMAIN:?err}`)
|
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-directus}.entrypoints=web
|