From 49940ac835fe8512e1185cb93f3edae06319c597 Mon Sep 17 00:00:00 2001 From: Manuel Sosi Date: Tue, 21 Oct 2025 16:20:04 +0100 Subject: [PATCH] Posting DIUN --- DIUN.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 DIUN.md diff --git a/DIUN.md b/DIUN.md new file mode 100644 index 0000000..fd0eb31 --- /dev/null +++ b/DIUN.md @@ -0,0 +1,53 @@ + +```yaml +services: + diun: + image: crazymax/diun:latest + container_name: DIUN + command: serve + volumes: + - "/volume1/docker/diun/:/data" + - "/volume1/docker/diun/diun.yml:/diun.yml:ro" + - "/var/run/docker.sock:/var/run/docker.sock" + environment: + - "TZ=Europe/Rome" + - "DIUN_WATCH_WORKERS=20" + - "DIUN_WATCH_SCHEDULE=0 */6 * * *" + - "DIUN_WATCH_JITTER=30s" + - "DIUN_PROVIDERS_DOCKER=true" + - "DIUN_WATCH_FIRSTCHECKNOTIF=true" + labels: + - "diun.enable=true" + restart: always +``` + +## CONFIGURAZIONE del file `diun.yml` + +```yaml +defaults: + watchRepo: false + notifyOn: + - new + - update +watch: + firstCheckNotif: true +notif: + mail: + host: out.smtpfy.com + username: eqwououimu_tr + password: 4ZrQq75l9vP%m5n%cBPfEamW + port: 465 + ssl: true + insecureSkipVerify: false + from: support@soleyma.com + to: + - support@soleyma.com + templateTitle: "{{ .Entry.Image }} released" + templateBody: | + Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released. + slack: + webhookURL: https://hooks.slack.com/services/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 + renderFields: true + templateBody: | + Docker tag {{ .Entry.Image }} which you subscribed to through {{ .Entry.Provider }} provider has been released. +``` \ No newline at end of file