From b704dadca03380e05106e09e9f992e04c4a6babd Mon Sep 17 00:00:00 2001 From: Datenschmutz <63157166+Datenschmutz@users.noreply.github.com> Date: Wed, 14 May 2025 14:55:35 +0200 Subject: [PATCH] feat(service): add Diun service (#5113) --- public/svgs/diun.svg | 38 +++++++++++++++++++++++++++++++++++++ templates/compose/diun.yaml | 31 ++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 public/svgs/diun.svg create mode 100644 templates/compose/diun.yaml diff --git a/public/svgs/diun.svg b/public/svgs/diun.svg new file mode 100644 index 000000000..6084a3cf3 --- /dev/null +++ b/public/svgs/diun.svg @@ -0,0 +1,38 @@ + + + + + + + + + + diff --git a/templates/compose/diun.yaml b/templates/compose/diun.yaml new file mode 100644 index 000000000..3f36d1775 --- /dev/null +++ b/templates/compose/diun.yaml @@ -0,0 +1,31 @@ +# documentation: https://crazymax.dev/diun/ +# slogan: Docker Image Update Notifier is a CLI application to receive notifications when a Docker image is updated on a Docker registry. +# tags: docker, notifier, slack +# logo: svgs/diun.svg + + +services: + diun: + image: 'crazymax/diun:latest' + container_name: diun + command: serve + volumes: + - './data:/data' + - '/var/run/docker.sock:/var/run/docker.sock' + environment: + - TZ=${TIME_ZONE:-Europe/Vienna} + - LOG_LEVEL=info + - LOG_JSON=false + - DIUN_WATCH_WORKERS=20 + - DIUN_WATCH_SCHEDULE=${CRON_WATCH_SCHEDULE:- * */6 * * *} + - DIUN_WATCH_JITTER=30s + - DIUN_PROVIDERS_DOCKER=true + - DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true + #SLACK + - DIUN_NOTIF_SLACK_WEBHOOKURL=${WEB_HOOK_URL} + restart: always + healthcheck: + test: ["CMD", "diun", "--version"] + interval: 5s + timeout: 20s + retries: 3 \ No newline at end of file