services/diun.yaml
traveler ef18837cef dfs
2025-06-20 10:20:51 -05:00

42 lines
No EOL
952 B
YAML

services:
diun:
image: crazymax/diun:latest
container_name: diun
user: "1001:998"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# - ./data:/data
- /data/nfs/Baxter/Docker/diun:/data
networks:
- netgrimoire
environment:
- TZ=America/Chicago
- LOG_LEVEL=info
- LOG_JSON=false
- 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=diun
- DIUN_NOTIF_NTFY_PRIORITY=default
deploy:
restart_policy:
condition: any
delay: 10s
max_attempts: 5
window: 60s
deploy:
mode: replicated
replicas: 1
placement:
constraints:
- node.role == manager
networks:
netgrimoire:
external: true