26 lines
805 B
YAML
26 lines
805 B
YAML
services:
|
|
diun:
|
|
image: crazymax/diun:latest
|
|
container_name: diun
|
|
command: serve
|
|
volumes:
|
|
- /path/to/diun/data:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ}
|
|
- LOG_LEVEL=info
|
|
- DIUN_WATCH_WORKERS=20
|
|
- DIUN_WATCH_SCHEDULE=0 7 * * MON ### At 07:00 AM, only on Monday
|
|
- DIUN_WATCH_JITTER=30s
|
|
- DIUN_WATCH_RUNONSTARTUP=true
|
|
- DIUN_PROVIDERS_DOCKER=true
|
|
- DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true
|
|
- DIUN_NOTIF_GOTIFY_ENDPOINT=${DIUN_NOTIF_GOTIFY_ENDPOINT}
|
|
- DIUN_NOTIF_GOTIFY_TOKEN=${DIUN_NOTIF_GOTIFY_TOKEN}
|
|
- DIUN_NOTIF_GOTIFY_PRIORITY=1
|
|
- DIUN_NOTIF_GOTIFY_TIMEOUT=10s
|
|
labels:
|
|
- diun.enable=true
|
|
restart: always |