update .gitignore for stirling and add diun service configuration in compose.yaml

This commit is contained in:
Peter Wood
2025-02-12 14:01:40 +00:00
parent 681b1eb0b0
commit 8b4b5aa78a
2 changed files with 23 additions and 4 deletions

8
.gitignore vendored
View File

@@ -4,16 +4,16 @@ nginxproxymanager/*/
media/audiobookshelf/ media/audiobookshelf/
ntfy/*/ ntfy/*/
vaultwarden/*/ vaultwarden/*/
standard-notes/
pinchflat/ pinchflat/
homepage/config/logs/ homepage/config/logs/
speedtest/config/ speedtest/config/
caddy/ts-caddy/ caddy/ts-caddy/
diun/data/
# stirling # stirling
pdf/stirling/latest/data pdf/stirling/latest/data/
pdf/stirling/latest/logs pdf/stirling/latest/logs/
pdf/stirling/latest/config/db/backup pdf/stirling/latest/config/db/backup/
pdf/stirling/latest/config/*.db pdf/stirling/latest/config/*.db
# ignore environment files # ignore environment files

19
diun/compose.yaml Normal file
View File

@@ -0,0 +1,19 @@
services:
diun:
image: crazymax/diun:latest
command: serve
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ=America/New_York
- DIUN_WATCH_WORKERS=20
- DIUN_WATCH_SCHEDULE=0 */6 * * *
- DIUN_WATCH_JITTER=30s
- DIUN_PROVIDERS_DOCKER=true
- DIUN_NOTIF_TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
- DIUN_NOTIF_TELEGRAM_CHATIDS=${TELEGRAM_CHAT_ID}
labels:
- diun.enable=true
restart: always