Files
openclaw-workspace/docker/frigate/docker-compose.yml
2026-04-11 09:45:12 -05:00

33 lines
879 B
YAML

version: "3.9"
services:
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:0.14.1-tensorrt
restart: unless-stopped
shm_size: "256mb"
privileged: true
environment:
- FRIGATE_RTSP_PASSWORD=${FRIGATE_RTSP_PASSWORD:-}
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
volumes:
- ./config.yml:/config/config.yml:ro
- ./yolov9-e.onnx:/config/yolov9-e.onnx:ro
- c:/media:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "8554:8554" # RTSP restream
- "8555:8555/tcp" # WebRTC
- "8555:8555/udp" # WebRTC
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]