diff --git a/diun.yaml b/diun.yaml new file mode 100644 index 0000000..3014cff --- /dev/null +++ b/diun.yaml @@ -0,0 +1,42 @@ +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:/config:/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 + + + + \ No newline at end of file