diun: Docker Image Update Notifier

This commit is contained in:
Florian Zirker 2023-12-15 15:08:44 +01:00
parent f3bb2bf0db
commit c679e2b813
2 changed files with 24 additions and 2 deletions

View file

@ -104,6 +104,27 @@ services:
labels:
- "docker.group=monitoring"
diun:
image: crazymax/diun:latest
command: serve
volumes:
- "${VOLUMES_PATH}/monitoring/diun/data:/data"
networks:
- dockersocket
environment:
- "TZ=Europe/Berlin"
- "DIUN_WATCH_WORKERS=10"
- "DIUN_WATCH_SCHEDULE=0 */6 * * *"
- "DIUN_WATCH_JITTER=30s"
- "DIUN_PROVIDERS_DOCKER_ENDPOINT=tcp://docker-socket-proxy:2375"
- "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true"
- "DIUN_NOTIF_NTFY_ENDPOINT=${NTFY_SERVER}"
- "DIUN_NOTIF_NTFY_TOPIC=${NTFY_TOPIC}"
- "DIUN_NOTIF_NTFY_TOKEN=${NTFY_TOKEN}"
restart: always
##################################################################
# here starts data collection of local host

View file

@ -69,6 +69,7 @@ services:
# grant privileges as environment variables: https://github.com/Tecnativa/docker-socket-proxy#grant-or-revoke-access-to-certain-api-sections
- CONTAINERS=1
- INFO=1
- IMAGES=1 # for diun
networks:
- dockersocket
healthcheck: