Add diun/docker-compose.yml

This commit is contained in:
2025-11-27 23:33:14 +00:00
commit da03df4f49

25
diun/docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
diun:
image: crazymax/diun:latest
container_name: diun
command: serve
volumes:
- "/media/sda1/docker/diun/data:/data"
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- "TZ=Europe/London"
- "LOG_LEVEL=info"
- "LOG_JSON=false"
- "DIUN_WATCH_WORKERS=20"
- "DIUN_WATCH_SCHEDULE=0 */6 * * *"
- "DIUN_WATCH_JITTER=30s"
- "DIUN_PROVIDERS_DOCKER=true"
- "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true"
- "DIUN_NOTIF_GOTIFY_ENDPOINT=http://192.168.1.4:8111" # IP address of ELITE cluster for GOTIFY
- "DIUN_NOTIF_GOTIFY_TOKEN=ADOe9h3-Q3XlSHG" # get your token from Gotify UI
- "DIUN_NOTIF_GOTIFY_PRIORITY=5"
- "DIUN_NOTIF_GOTIFY_TIMEOUT=10s"
labels:
- "diun.enable=true"
restart: always