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

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