# 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: labels: gremlin.checks.skip: "caddy, homepage, monitor" 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