Files
2026-08-22 18:32:43 +00:00

26 lines
637 B
YAML

name: diun
services:
diun:
image: crazymax/diun:latest
container_name: diun
command: serve
volumes:
- "./data:/data"
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- "TZ=Europe/Paris"
- "DIUN_WATCH_WORKERS=20"
- "DIUN_WATCH_SCHEDULE=0 */6 * * *"
- "DIUN_WATCH_JITTER=30s"
- "DIUN_PROVIDERS_DOCKER=true"
- "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true"
healthcheck:
test: ["CMD", "diun", "healthcheck"]
interval: 30s
timeout: 5s
retries: 3
start_period: 60s
labels:
- "diun.enable=true"
restart: unless-stopped