f5f688277f
- Recognition pipeline runs between snapshot fetch and notification - Checks recognition_enabled setting before running CLIP matching - Known objects with quiet/suppress action skip Matrix notifications - Vision description uses configurable backend (haiku/ollama/both) - docker-compose.yml adds CLIP/Ollama env vars and data volume Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
1.0 KiB
YAML
Executable File
37 lines
1.0 KiB
YAML
Executable File
services:
|
|
frigate-notify:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: frigate-notify
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
environment:
|
|
- TZ=America/Chicago
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
|
- MATRIX_ACCESS_TOKEN=${MATRIX_ACCESS_TOKEN}
|
|
- MATRIX_ROOM_ID=${MATRIX_ROOM_ID}
|
|
- FRIGATE_URL=http://192.168.86.192:5000
|
|
- MQTT_HOST=192.168.86.192
|
|
- MQTT_PORT=1883
|
|
- MATRIX_HOMESERVER=http://192.168.86.192: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"
|