services/swarm/diun.yaml
traveler 247956f05c
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
fg
2026-04-07 14:09:49 -05:00

35 lines
No EOL
944 B
YAML

# Run with docker stack deploy -c diun.yaml diun
services:
diun:
image: crazymax/diun:latest
user: "1964:1964"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/nfs/znas/Docker/diun:/data
networks:
- netgrimoire
environment:
TZ: America/Chicago
DIUN_WATCH_WORKERS: "20"
DIUN_WATCH_SCHEDULE: "0 */6 * * *"
DIUN_PROVIDERS_DOCKER: "true"
DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT: "true"
DIUN_NOTIF_NTFY_ENDPOINT: https://ntfy.netgrimoire.com
DIUN_NOTIF_NTFY_TOPIC: netgrimoire-diun
DIUN_NOTIF_NTFY_PRIORITY: "3"
deploy:
placement:
constraints:
- node.role == manager
- node.platform.arch != arm64
- node.platform.arch != arm
restart_policy:
condition: on-failure
delay: 5s
labels:
# --- DIUN ---
diun.enable: "true"
networks:
netgrimoire:
external: true