services/uptimekuma/docker-compose.traefik.yml

15 lines
424 B
YAML
Raw Permalink Normal View History

2022-12-09 21:12:55 +01:00
---
networks:
default:
name: ${TRAEFIK_NETWORK_NAME:-traefik}
external: true
2022-12-09 21:12:55 +01:00
services:
uptimekuma:
labels:
- traefik.enable=true
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-uptimekuma}.rule=Host(`${UPTIMEKUMA_DOMAIN:?err}`)
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-uptimekuma}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}