infrastructure/ansible/roles/uptime_kuma/files/docker-compose.yml

26 lines
510 B
YAML
Raw Normal View History

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