services/swarm/kuma.yaml
traveler e58b778a07
Some checks are pending
Deploy on push / detect (push) Waiting to run
Deploy on push / deploy_swarm (push) Blocked by required conditions
Deploy on push / deploy_compose (push) Blocked by required conditions
dsf
2026-03-30 19:54:19 -05:00

56 lines
No EOL
1.4 KiB
YAML

services:
kuma:
image: louislam/uptime-kuma:1
environment:
- TZ=America/Chicago
- PGID=1964
- PUID=1964
- UMASK=002
networks:
- netgrimoire
volumes:
- /DockerVol/kuma:/app/data
deploy:
placement:
constraints:
- node.hostname == docker3
restart_policy:
condition: on-failure
delay: 5s
endpoint_mode: dnsrr
labels:
- diun.enable=true
- homepage.group=Monitoring
- homepage.name=Kuma Uptime
- homepage.icon=kuma.png
- homepage.href=https://kuma.netgrimoire.com
- homepage.description=Services Monitor
- caddy=kuma.netgrimoire.com
- caddy.reverse_proxy=kuma:3001
autokuma:
image: ghcr.io/bigboot/autokuma:latest
environment:
AUTOKUMA__KUMA__URL: http://kuma:3001
AUTOKUMA__KUMA__USERNAME: traveler
AUTOKUMA__KUMA__PASSWORD: F@lcon12
AUTOKUMA__TAG_NAME: AutoKuma
AUTOKUMA__DOCKER__SOURCE: "swarm"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/nfs/znas/Docker/AutoKuma:/data
networks:
- netgrimoire
deploy:
placement:
constraints:
- node.role == manager
restart_policy:
condition: on-failure
delay: 5s
labels:
- diun.enable=true
networks:
netgrimoire:
external: true