/boot/config/plugins/dockerMan/templates-user/my-frigate.xml
<?xml version="1.0"?>
<Container version="2">
<Name>frigate</Name>
<Repository>ghcr.io/blakeblackshear/frigate:stable</Repository>
<Registry>https://hub.docker.com/r/blakeblackshear/frigate/</Registry>
<Network>bridge</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>true</Privileged>
<Support>https://forums.unraid.net/topic/98064-support-blakeblackshear-frigate/</Support>
<Project>https://frigate.video/</Project>
<ReadMe/>
<Overview>A complete and local NVR designed for Home Assistant with AI object detection. Uses OpenCV and Tensorflow to perform realtime object detection locally for IP cameras.
You cas use a integrated or dedicated GPU (Intel/AMD/Nvidia) to perform the image decoding of the input streams of your cameras.
Optionally (but highly recommended), you can use multiple devices to perform the object detetion, such as a Google Coral Accelerator Nvidia GPU, OpenVINO (Intel GPU) and Intel NCS2 VPU
See the documentation for more details about your specific hardware and needs (https://docs.frigate.video/). This is a general templeate that aims to give a fast deoplyment for every user so check all the options carefully and remove all the configurations that you are not going to use.</Overview>
<Category>HomeAutomation: Security:</Category>
<WebUI>http://[IP]:[PORT:5000]</WebUI>
<TemplateURL>https://gitlab.com/yayitazale/unraid-templates/-/raw/main/yayitazale/frigate.xml</TemplateURL>
<Icon>https://raw.githubusercontent.com/yayitazale/unraid-templates/main/frigate.png</Icon>
<ExtraParams>--shm-size=512mb --mount type=tmpfs,target=/tmp/cache,tmpfs-size=1024000000 --restart unless-stopped --cap-add=CAP_PERFMON</ExtraParams>
<PostArgs/>
<CPUset/>
<DateInstalled>1768336560</DateInstalled>
<DonateText>If you like my work please consider Donating.</DonateText>
<DonateLink>https://paypal.me/JosebaEgiaLarrinaga</DonateLink>
<Requires>- A valid config.yml file must exist in the config directory to startup the container.
br- If you are using a Coral Detector, you should set the container to privileged mode under advanced view
br- If you are using a PCI Coral instead of a USB one, you must install first the needed drivers going to the CA app and searching for Coral-Driver (thanks to @ich777)
br- If you want to use a NVidia card to image decoding and/or detection, you must first install the drivers from CA app (thanks to @ich777), add "--runtime=nvidia" as extra parameter under advanced view and set the "Nvidia Visible Devices" variable with your "GPU UUID" as the value.
br- If you want to use the NVidia TensorRT Detector, you have to create the models using the "tensorrt-models" app from the CA app and select the correspondig branch.
br- If you want to use a AMD GPU to image decoding you must change driver to "radeonsi"
br- With some of the Intel processors, like the J4125, the default driver "iHD" doesn't seem to work correctly for hardware acceleration. You may need to change the driver to "i965"
br- If you want to use a NCS2 as detector you have to add "--device-cgroup-rule='c 189:\* rmw'" as extra parameter under advanced view and install the "udev rule" in the unraid host.</Requires>
<Config Name="Config Path" Target="/config" Default="/mnt/user/appdata/frigate" Mode="rw" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/frigate</Config>
<Config Name="Media path" Target="/media/frigate" Default="/mnt/user/frigate" Mode="rw" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/frigate</Config>
<Config Name="HTTP port" Target="5000" Default="" Mode="tcp" Description="" Type="Port" Display="always" Required="true" Mask="false">5001</Config>
<Config Name="RTSP port" Target="8554" Default="" Mode="tcp" Description="" Type="Port" Display="always" Required="true" Mask="false">8554</Config>
<Config Name="Frigate RTSP Password" Target="FRIGATE_RTSP_PASSWORD" Default="" Mode="" Description="" Type="Variable" Display="always" Required="true" Mask="false">aceMagic___</Config>
<Config Name="Intel/AMD GPU mapping" Target="/dev/dri/renderD128" Default="" Mode="" Description="Intel/AMD GPU mapping for image decode (and detection with Intel OpenVINO). Remove this if you are not using it. " Type="Device" Display="always" Required="false" Mask="false">/dev/dri/renderD128</Config>
<Config Name="Driver for Intel/AMD GPUs" Target="LIBVA_DRIVER_NAME" Default="" Mode="" Description="(Intel = iHD or i965 and AMD = radeonsi). Remove this if you are not using it. " Type="Variable" Display="always" Required="false" Mask="false">iHD</Config>
<Config Name="Frigate_DB" Target="/frigate_db" Default="/mnt/vms/frigate_db/" Mode="rw" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/cache_safe/frigate_db </Config>
<Config Name="Localtime" Target="/etc/localtime" Default="" Mode="rw" Description="" Type="Path" Display="advanced-hide" Required="true" Mask="false">/etc/localtime</Config>
<TailscaleStateDir/>
</Container>