Compare commits

...

3 Commits

Author SHA1 Message Date
timothykim 24525b5cf3 remove db 2026-04-21 12:01:31 -04:00
timothykim c08105f074 update from email 2026-04-21 11:28:44 -04:00
timothykim ad4c607dfb diun 2026-04-21 11:16:43 -04:00
4 changed files with 42 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
data/
+18
View File
@@ -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"
+22
View File
@@ -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: argento@fastmail.com
to:
- timothykim@fastmail.fm
+1 -1
View File
@@ -183,7 +183,7 @@ fi
if [ "$USE_EMAIL" = true ]; then if [ "$USE_EMAIL" = true ]; then
{ {
echo "Subject: $SUBJECT" echo "Subject: $SUBJECT"
echo "From: $HOSTNAME <root@$HOSTNAME>" echo "From: $HOSTNAME <argento@fastmail.com>"
echo "To: $MAILTO" echo "To: $MAILTO"
echo "" echo ""
printf '%b' "$BODY" printf '%b' "$BODY"