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.
This commit is contained in:
+33
@@ -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"
|
||||
Reference in New Issue
Block a user