docker-solutions/diun.yml

27 lines
597 B
YAML

---
version: "3.5"
volumes:
data:
services:
diun:
image: "ghcr.io/crazy-max/diun:latest"
container_name: diun
command: serve
volumes:
- data:/data
- /var/run/docker.sock:/var/run/docker.sock
- /etc/docker-configs/diun/diun.yaml:/etc/diun/diun.yaml
environment:
- "TZ=Europe/Berlin"
- "LOG_LEVEL=info"
- "LOG_JSON=false"
- "DIUN_WATCH_WORKERS=20"
- "DIUN_WATCH_SCHEDULE=0 0 09 * * *"
- "DIUN_WATCH_JITTER=30s"
- "DIUN_PROVIDERS_DOCKER=true"
labels:
- "diun.enable=true"
restart: unless-stopped
...