$ services: frigate: image: ghcr.io/blakeblackshear/frigate:0.17.0 -weight: 500;">restart: unless-stopped privileged: true shm_size: 256mb ports: - "5000:5000" # Web UI - "8554:8554" # RTSP restream - "8555:8555" # WebRTC volumes: - ./config:/config - ./storage:/media/frigate - /etc/localtime:/etc/localtime:ro devices: - /dev/bus/usb:/dev/bus/usb # Coral USB TPU environment: FRIGATE_RTSP_PASSWORD: changeme
services: frigate: image: ghcr.io/blakeblackshear/frigate:0.17.0 -weight: 500;">restart: unless-stopped privileged: true shm_size: 256mb ports: - "5000:5000" # Web UI - "8554:8554" # RTSP restream - "8555:8555" # WebRTC volumes: - ./config:/config - ./storage:/media/frigate - /etc/localtime:/etc/localtime:ro devices: - /dev/bus/usb:/dev/bus/usb # Coral USB TPU environment: FRIGATE_RTSP_PASSWORD: changeme
services: frigate: image: ghcr.io/blakeblackshear/frigate:0.17.0 -weight: 500;">restart: unless-stopped privileged: true shm_size: 256mb ports: - "5000:5000" # Web UI - "8554:8554" # RTSP restream - "8555:8555" # WebRTC volumes: - ./config:/config - ./storage:/media/frigate - /etc/localtime:/etc/localtime:ro devices: - /dev/bus/usb:/dev/bus/usb # Coral USB TPU environment: FRIGATE_RTSP_PASSWORD: changeme
cameras: front_door: ffmpeg: inputs: - path: rtsp://user:pass@camera-ip:554/stream roles: ["detect", "record"] detect: width: 1280 height: 720
detectors: coral: type: edgetpu device: usb
cameras: front_door: ffmpeg: inputs: - path: rtsp://user:pass@camera-ip:554/stream roles: ["detect", "record"] detect: width: 1280 height: 720
detectors: coral: type: edgetpu device: usb
cameras: front_door: ffmpeg: inputs: - path: rtsp://user:pass@camera-ip:554/stream roles: ["detect", "record"] detect: width: 1280 height: 720
detectors: coral: type: edgetpu device: usb
services: motion: # Motion project does not publish versioned Docker tags — :latest is the only option image: motionproject/motion:latest -weight: 500;">restart: unless-stopped ports: - "8080:8080" # Web control - "8081:8081" # Stream volumes: - ./config:/etc/motion - ./recordings:/var/lib/motion - /etc/localtime:/etc/localtime:ro
services: motion: # Motion project does not publish versioned Docker tags — :latest is the only option image: motionproject/motion:latest -weight: 500;">restart: unless-stopped ports: - "8080:8080" # Web control - "8081:8081" # Stream volumes: - ./config:/etc/motion - ./recordings:/var/lib/motion - /etc/localtime:/etc/localtime:ro
services: motion: # Motion project does not publish versioned Docker tags — :latest is the only option image: motionproject/motion:latest -weight: 500;">restart: unless-stopped ports: - "8080:8080" # Web control - "8081:8081" # Stream volumes: - ./config:/etc/motion - ./recordings:/var/lib/motion - /etc/localtime:/etc/localtime:ro - Tree branches swaying → alert
- Shadows from clouds → alert
- Car headlights sweeping across a wall → alert
- Spider web in front of lens → alert
- Actual burglar → alert (same as the spider) - Camera entities with live view and recordings
- Binary sensors per object type (person detected, car detected)
- Automation triggers ("when a person is detected in the backyard, turn on lights")
- Event notifications with snapshots pushed to your phone - You're building a home security system with multiple cameras
- False-positive alerts from motion detection are unacceptable
- You use Home Assistant and want native camera integration
- You have (or will buy) a Google Coral TPU for efficient AI detection
- You need both continuous recording and event-based clips
- Object classification (person vs car vs animal) matters - You have a single camera monitoring a controlled space (locked room, closet, server rack)
- You want the lightest possible resource usage (Raspberry Pi Zero)
- Any movement — not just specific objects — is what you want to detect
- You need V4L2 webcam support (USB cameras) rather than IP cameras
- You're running on extremely limited hardware where AI detection isn't feasible
- You want a wildlife camera that captures any animal movement - How to Self-Host Frigate NVR
- Frigate vs ZoneMinder: NVR Comparison
- Frigate vs Blue Iris: NVR Comparison
- Frigate vs Shinobi: NVR Comparison
- Best Self-Hosted Video Surveillance
- Replace Ring with Self-Hosted Alternatives
- NVR Hardware Guide
- Docker Compose Basics