Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.9"
- services:
- frigate:
- image: ghcr.io/blakeblackshear/frigate:0.15.0-rc2
- container_name: frigate
- restart: unless-stopped
- privileged: true # Required for hardware access
- network_mode: host # Recommended for hardware and RTSP access
- shm_size: "400mb" # Shared memory for FFmpeg, adjust as needed
- volumes:
- - /opt/frigate/config:/config/ # Configuration file
- - /mnt/frigate_cctv_hdd:/media/frigate #HDD Recordings
- - type: tmpfs # Optional: Use RAM for cache to reduce SSD wear
- target: /tmp/cache
- tmpfs:
- size: 1000000000 # Adjust size as needed
- - /etc/localtime:/etc/localtime:ro # Sync container time with host
- - /dev/shm:/dev/shm # Shared memory for FFmpeg
- devices:
- - /dev/dri:/dev/dri # Intel iGPU for hardware acceleration
- - /dev/bus/usb:/dev/bus/usb # USB Coral TPU
- ports:
- - "5000:5000" # Frigate Web UI
- - "1935:1935" # RTMP stream
- - "8554:8554" # RTSP restream
- - "8555:8555" # WebRTC
Advertisement
Add Comment
Please, Sign In to add comment