feat(service): add Diun service (#5113)

This commit is contained in:
Datenschmutz
2025-05-14 14:55:35 +02:00
committed by GitHub
parent 24885164cb
commit b704dadca0
2 changed files with 69 additions and 0 deletions

38
public/svgs/diun.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -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