diff --git a/infra/diun/docker-compose.yml b/infra/diun/docker-compose.yml new file mode 100644 index 0000000..f0418ad --- /dev/null +++ b/infra/diun/docker-compose.yml @@ -0,0 +1,29 @@ +name: diun + +services: + diun: + image: crazymax/diun:4.31.0 + container_name: diun + hostname: diun + command: serve + restart: unless-stopped + + environment: + TZ: Europe/Berlin + 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: "false" + DIUN_PROVIDERS_DOCKER_WATCHSTOPPED: "false" + DIUN_NOTIF_GOTIFY_ENDPOINT: http://gotify + DIUN_NOTIF_GOTIFY_TOKEN: A0X-h.zASUTj_9s + + volumes: + - /mnt/user/appdata/diun:/data + - /var/run/docker.sock:/var/run/docker.sock:ro + + security_opt: + - no-new-privileges:true \ No newline at end of file