version: “3.9”
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: blakeblackshear/frigate:stable
shm_size: “64mb” # update for your cameras based on calculation above
devices:
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
- /dev/apex_0:/dev/apex_0 # passes a PCIe Coral, follow driver instructions here Get started with the M.2 or Mini PCIe Accelerator | Coral
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /path/to/your/config.yml:/config/config.yml:ro
- /path/to/your/storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- “5000:5000”
- “1935:1935” # RTMP feeds
environment:
FRIGATE_RTSP_PASSWORD: “password”
I got this in docker compose, with a config file too for cameras. but there is no clear documentation on how this is done I followed a couple of guides , I am think I am going wrong linking my home assistant yellow to the docker hub, I don’t understand this - /path/to/your/config.yml:/config/config.yml:ro
- /path/to/your/storage:/media/frigate
and I don’t know what the RTSP password is for ?
please help I am running a almost smart home at the moment and would love to work out how home assistant works to make everything better