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