services/mobilizon/docker-compose.traefik.yml

15 lines
420 B
YAML
Raw Normal View History

2022-01-05 00:41:26 +01:00
---
networks:
default:
name: ${TRAEFIK_NETWORK_NAME:-traefik}
external: true
2022-01-05 00:41:26 +01:00
services:
mobilizon:
labels:
- traefik.enable=true
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-mobilizon}.rule=Host(`${MOBILIZON_DOMAIN:?err}`)
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-mobilizon}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}