added diun

This commit is contained in:
Erik Grobecker 2024-12-21 13:57:28 +01:00
parent 9ce84ef776
commit 65cdd42f6d
Signed by: Erik
GPG key ID: 80D020D0ABBD3FB2
4 changed files with 37 additions and 0 deletions

13
docker/diun/compose.yml Normal file
View file

@ -0,0 +1,13 @@
services:
diun:
image: crazymax/diun:latest
command: serve
container_name: diun
volumes:
- "./data:/data"
- "/var/run/docker.sock:/var/run/docker.sock"
- "./diun.yml:/diun.yml:ro"
environment:
# general settings
- "TZ=Europe/Berlin"
restart: always

View file

@ -0,0 +1,2 @@
- name: caddy:2-builder
- name: caddy:2

20
docker/diun/diun.yml Normal file
View file

@ -0,0 +1,20 @@
watch:
workers: 20
schedule: "0 */6 * * *"
firstCheckNotif: false
jitter: "30s"
providers:
docker:
watchByDefault: true
file:
filename: /data/images-to-monitor.yml
notif:
ntfy:
endpoint: https://notify.grobecker.me
topic: diun
priority: 3
templateTitle: "[diun hetzner] {{ .Entry.Image }} released"
templateBody: |
Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released.

2
docker/diun/info.md Normal file
View file

@ -0,0 +1,2 @@
This here is the config for diun on my _hetzner_-instance, meaning that my _raspi_-instance is slightly different\
For example: _hetzner_ uses a dedicated file while _raspi_ uses environment-variables