Arion: Add diun docker update notifications
This commit is contained in:
parent
c213949f6f
commit
6043b73a04
1 changed files with 29 additions and 0 deletions
|
@ -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"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue