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 mode: replicated replicas: 1 placement: constraints: - node.role == manager networks: netgrimoire: external: true