Arion: Modify Diun tracking to notify for newly created images

Normal Diun behavior is to track the current tag, e.g. 'latest' and check if that has been changed
This commit is contained in:
GHOSCHT 2024-06-25 22:11:12 +02:00
parent 76a885e0d3
commit 255847b6e1
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -112,18 +112,18 @@
"/storage/dataset/docker/infrastructure/diun_data:/data" "/storage/dataset/docker/infrastructure/diun_data:/data"
"/var/run/docker.sock:/var/run/docker.sock" "/var/run/docker.sock:/var/run/docker.sock"
]; ];
labels = {
"diun.enable" = "true";
};
environment = { environment = {
TZ = "Europe/Berlin"; TZ = "Europe/Berlin";
LOG_LEVEL = "info"; LOG_LEVEL = "info";
#Only when setting workers=1 sorting can be actually observed
DIUN_WATCH_WORKERS = "20"; DIUN_WATCH_WORKERS = "20";
DIUN_WATCH_SCHEDULE = "0 */6 * * *"; DIUN_WATCH_SCHEDULE = "0 */6 * * *";
DIUN_WATCH_JITTER = "30s"; DIUN_WATCH_JITTER = "30s";
DIUN_WATCH_RUNONSTARTUP = "true"; DIUN_WATCH_RUNONSTARTUP = "true";
DIUN_PROVIDERS_DOCKER = "true"; DIUN_PROVIDERS_DOCKER = "true";
DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT = "true";
DIUN_DEFAULTS_MAXTAGS = 1;
DIUN_DEFAULTS_NOTIFYON = "new";
DIUN_NOTIF_NTFY_ENDPOINT = "http://ntfy"; DIUN_NOTIF_NTFY_ENDPOINT = "http://ntfy";
DIUN_NOTIF_NTFY_TOPIC = "docker-updates"; DIUN_NOTIF_NTFY_TOPIC = "docker-updates";