mirror of
https://github.com/acedanger/docker.git
synced 2025-12-05 22:50:17 -08:00
update .gitignore for stirling and add diun service configuration in compose.yaml
This commit is contained in:
19
diun/compose.yaml
Normal file
19
diun/compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user