From ad4c607dfb7409d232664901cbf167154be020c7 Mon Sep 17 00:00:00 2001 From: Timothy Kim Date: Tue, 21 Apr 2026 11:16:43 -0400 Subject: [PATCH] diun --- docker/diun/compose.yaml | 18 ++++++++++++++++++ docker/diun/diun.yml | 22 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 docker/diun/compose.yaml create mode 100644 docker/diun/diun.yml diff --git a/docker/diun/compose.yaml b/docker/diun/compose.yaml new file mode 100644 index 0000000..da41aa4 --- /dev/null +++ b/docker/diun/compose.yaml @@ -0,0 +1,18 @@ +name: diun + +services: + diun: + image: crazymax/diun:latest + restart: unless-stopped + container_name: diun + command: serve + env_file: + - .env + volumes: + - "./data:/data" + - "./diun.yml:/diun.yml:ro" + - "/var/run/docker.sock:/var/run/docker.sock" + environment: + - "TZ=America/New_York" + labels: + - "diun.enable=true" diff --git a/docker/diun/diun.yml b/docker/diun/diun.yml new file mode 100644 index 0000000..65cf492 --- /dev/null +++ b/docker/diun/diun.yml @@ -0,0 +1,22 @@ +watch: + workers: 20 + schedule: "0 0 6 * * *" # daily at 09:00; six-field cron (sec min hr dom mon dow) + firstCheckNotif: false # don't email on first run for every image + jitter: 30s + +providers: + docker: + watchByDefault: true # watch every running container without needing labels + watchStopped: false + +notif: + mail: + host: smtp.fastmail.com + port: 465 + ssl: true + insecureSkipVerify: false + username: timothykim@fastmail.fm + from: root@argento + to: + - timothykim@fastmail.fm +