97e3cf12a7
- docker-compose.yml: increase /tmp/cache tmpfs from 4G to 8G, add Coral USB device passthrough (/dev/bus/usb), fix memswap_limit to 16G (was equal to mem_limit) - config.yml: replace OpenVINO detector with Coral edgetpu (usb), update model dimensions to 320x320 and pixel format to rgb, enable VAAPI on house_east and pool_room, throttle shop_west to 2fps with stricter person/car filters (min_area + threshold), add offline note for gate_camera, enable semantic_search (large), face_recognition (small), LPR, and bird classification Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
864 B
YAML
34 lines
864 B
YAML
services:
|
|
frigate:
|
|
image: ghcr.io/blakeblackshear/frigate:stable
|
|
container_name: frigate
|
|
restart: unless-stopped
|
|
privileged: true
|
|
shm_size: "512mb"
|
|
network_mode: host
|
|
environment:
|
|
- TZ=America/Chicago
|
|
- FRIGATE_RTSP_PASSWORD=password
|
|
volumes:
|
|
- /mnt/docker-data/configs/frigate/config:/config
|
|
- /mnt/frigate-recordings:/media/frigate
|
|
- /etc/localtime:/etc/localtime:ro
|
|
tmpfs:
|
|
- /tmp/cache:size=8G
|
|
devices:
|
|
- /dev/dri:/dev/dri
|
|
- /dev/bus/usb:/dev/bus/usb
|
|
mem_limit: 12G
|
|
memswap_limit: 16G
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -f http://localhost:5000/api/version || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 60s
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "50m"
|
|
max-file: "3"
|