diff --git a/.gitignore b/.gitignore index b3b4d84..5c25d0d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,16 +4,16 @@ nginxproxymanager/*/ media/audiobookshelf/ ntfy/*/ vaultwarden/*/ -standard-notes/ pinchflat/ homepage/config/logs/ speedtest/config/ caddy/ts-caddy/ +diun/data/ # stirling -pdf/stirling/latest/data -pdf/stirling/latest/logs -pdf/stirling/latest/config/db/backup +pdf/stirling/latest/data/ +pdf/stirling/latest/logs/ +pdf/stirling/latest/config/db/backup/ pdf/stirling/latest/config/*.db # ignore environment files diff --git a/diun/compose.yaml b/diun/compose.yaml new file mode 100644 index 0000000..352317a --- /dev/null +++ b/diun/compose.yaml @@ -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