Hey @BartButenaers I am using frigate v0.15.x
I use the node-red worldmap to map all my camera locations and then link it to the frigate server.
I'm in the process of migrating from motioneye.
Things I figured out that I probably should share on this thread.
Docker - I use basic docker command to run frigate not Docker compose
I use NFS shares not local storage
Here is my run command, note: ghcr.io/blakeblackshear/frigate:0.15.0-rc2 I never use latest as it may introduce a breaking change.
docker run -d \
--name frigate_0_15_0_rc2 \
--restart=unless-stopped \
--shm-size=4g \
--mount type=tmpfs,target=/tmp/cache,tmpfs-size=4294967296 \
--memory=128g \
--memory-swap=128g \
--cpus=70 \
--mount type=volume,source=frigate_10_X_X_1_NFSdockerVolume_media,target=/media/frigate \
--mount type=volume,source=frigate_10_X_X_1_NFSdockerVolume_config,target=/config \
--device /dev/bus/usb:/dev/bus/usb \
-v /etc/localtime:/etc/localtime:ro \
-e FRIGATE_RTSP_PASSWORD='yourpassyawanthere' \
-p 8971:8971 \
-p 8554:8554 \
-p 8555:8555/tcp \
-p 8555:8555/udp \
ghcr.io/blakeblackshear/frigate:0.15.0-rc2
Streaming mpeg video - I have live view screens for viewing truck gate and other areas. You can view this stream via the frigate api.
example:
http://10.X.X.1:8971/api/YourCameraName?height=1440
Latest Frame - in the camera map image shown above I use the frigate API to grab the most recent image from a camera to preview it.
http://10.X.X.1/frigate3/api/YourCameraName/latest.webp?height=275"
Multiple frigate servers on one node-red world map use Nginx - as you may notice the above url does not use a port number. I use nginx.
one thing to pay attention to in this proxy example is: proxy_set_header X-Ingress-Path "/frigate3"; This is how you handle multiple frigate backends like frigate1, frigate2, frigate3. name them how ever you like.
# frigate3
location = /frigate3 {
return 302 /frigate3/;
}
location /frigate3/ {
proxy_pass http://10.X.X.1:8971/;
proxy_set_header X-Ingress-Path "/frigate3";
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
access_log off;
}
Just installed 4 coral usb devices on frigate2 server I'm migrating everything to now. I'll soon see howmany cameras it can hold.
Fun Screenshot of my frigate1 server. Not many people are going to see these numbers
Feel free to ask questions.