From b1d111a011dbb20d7693799417aca348ad723bc3 Mon Sep 17 00:00:00 2001 From: jeremy Date: Sun, 8 Mar 2026 18:30:28 -0500 Subject: [PATCH] compose: add frigate-notify v2 deploy config for hf-pdocker-01 Switch from build: to pre-built image (frigate-notify:latest, built from jeremy/frigate-notify Gitea repo). Added volume mount for SQLite DB on NAS, CLIP/Ollama env vars for GPU machine, and corrected MQTT/Matrix hosts to bart (192.168.86.167) since those services are on failover. Deployed 2026-03-08, health check passing. --- .../hf-pdocker-01/frigate-notify/.env.example | 3 ++ .../frigate-notify/docker-compose.yml | 33 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 compose/hf-pdocker-01/frigate-notify/.env.example create mode 100755 compose/hf-pdocker-01/frigate-notify/docker-compose.yml diff --git a/compose/hf-pdocker-01/frigate-notify/.env.example b/compose/hf-pdocker-01/frigate-notify/.env.example new file mode 100644 index 0000000..024b4ef --- /dev/null +++ b/compose/hf-pdocker-01/frigate-notify/.env.example @@ -0,0 +1,3 @@ +ANTHROPIC_API_KEY= +MATRIX_ACCESS_TOKEN= +MATRIX_ROOM_ID= diff --git a/compose/hf-pdocker-01/frigate-notify/docker-compose.yml b/compose/hf-pdocker-01/frigate-notify/docker-compose.yml new file mode 100755 index 0000000..c4b812c --- /dev/null +++ b/compose/hf-pdocker-01/frigate-notify/docker-compose.yml @@ -0,0 +1,33 @@ +services: + frigate-notify: + image: frigate-notify:latest + container_name: frigate-notify + restart: unless-stopped + network_mode: host + env_file: + - .env + environment: + - TZ=America/Chicago + - FRIGATE_URL=http://localhost:5000 + - MQTT_HOST=192.168.86.167 + - MQTT_PORT=1883 + - MATRIX_HOMESERVER=http://192.168.86.167:8008 + - CLIP_SERVICE_URL=http://192.168.86.196:5200 + - OLLAMA_URL=http://192.168.86.196:11434 + - OLLAMA_MODEL=llava:13b + - DB_PATH=/data/frigate-notify.db + volumes: + - /mnt/docker-data/configs/frigate-notify:/data + mem_limit: 256M + memswap_limit: 256M + healthcheck: + test: ["CMD-SHELL", "curl -sf http://localhost:5199/health || exit 1"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 30s + logging: + driver: "json-file" + options: + max-size: "50m" + max-file: "3"