infrastructure/ansible/roles/uptime_kuma/files/docker-compose.yml
Jake Howard d5c7d94ac8
Run traefik as dockeruser, and without host networking
This required port forwarding, a docker proxy, and a docker network, but the end result should be much more secure!
2022-01-15 23:44:06 +00:00

22 lines
469 B
YAML

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