Files
home-server-docker/project/infrastructure/uptime-kuma/uptime-kuma.yml
2024-07-19 12:38:32 +02:00

29 lines
889 B
YAML

services:
uptime-kuma:
# not using the template because ncsd is not configured to support changing PUID/PGID
# https://github.com/louislam/uptime-kuma/issues/4743
# extends:
# file: ${TEMPLATES_PATH}
# service: default
image: louislam/uptime-kuma:latest
container_name: uptime-kuma
restart: unless-stopped
security_opt:
- no-new-privileges=true
environment:
TZ: ${TZ}
volumes:
- ${INFRA_PATH}/uptime-kuma/config:/app/data
ports:
- 5001:3001
networks:
- ip4net
- ip6net
labels:
# Watchtower
- "com.centurylinklabs.watchtower.enable=true"
# Traefik
- "traefik.enable=true"
- "traefik.http.routers.uptime-kuma.rule=Host(`uptime-kuma.${LOCAL_DOMAIN}`)"
- "traefik.http.routers.uptime-kuma.entrypoints=https"
- "traefik.http.routers.uptime-kuma.tls=true"