infrastructure/ansible/roles/uptime_kuma/files/docker-compose.yml
Jake Howard 6116eed775
Use external DNS for monitoring
This avoids potential issues with host DNS jitters
2022-05-19 09:39:30 +01:00

25 lines
510 B
YAML

version: "2.3"
services:
uptime-kuma:
image: louislam/uptime-kuma:1.15.1-alpine
restart: unless-stopped
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ={{ timezone }}
networks:
- default
- traefik
volumes:
- ./data:/app/data
dns:
- 1.1.1.1
- 8.8.8.8
labels:
- traefik.enable=true
- traefik.http.routers.uptime-kuma.rule=Host(`status.theorangeone.net`)
networks:
traefik:
external: true