Arion: Add diun docker update notifications

This commit is contained in:
GHOSCHT 2024-06-14 11:57:42 +02:00
parent c213949f6f
commit 6043b73a04
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -103,5 +103,34 @@
"/home/ghoscht/.docker/infrastructure/dyndns.env" "/home/ghoscht/.docker/infrastructure/dyndns.env"
]; ];
}; };
diun.service = {
image = "crazymax/diun:4.28";
container_name = "diun";
restart = "always";
command = "serve";
volumes = [
"/storage/dataset/docker/infrastructure/diun_data:/data"
"/var/run/docker.sock:/var/run/docker.sock"
];
labels = {
"diun.enable" = "true";
};
environment = {
TZ = "Europe/Berlin";
LOG_LEVEL = "info";
DIUN_WATCH_WORKERS = "20";
DIUN_WATCH_SCHEDULE = "0 */6 * * *";
DIUN_WATCH_JITTER = "30s";
DIUN_WATCH_RUNONSTARTUP = "true";
DIUN_PROVIDERS_DOCKER = "true";
DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT = "true";
DIUN_NOTIF_NTFY_ENDPOINT = "http://ntfy";
DIUN_NOTIF_NTFY_TOPIC = "docker-updates";
};
networks = [
"dmz"
];
};
}; };
} }