Smart home
How to install Frigate on your home server
Frigate records IP cameras and spots people, cars and pets on your own server. The web page is on port 8971. It is the one app here with a Home Assistant OS add-on method.
What the steps install, and how it connects
Connects to it
- Browser8971/tcp
- IP camerason your network
Your server, in Docker
container frigate
image ghcr.io/
- 8971/tcpweb page
- 8554/tcpRTSP feeds
- 8555/tcpWebRTC over tcp
- 8555/udpWebRTC over udp
- 5000/tcpInternal unauthenticated access. Expose carefully.not opened by these steps: the line is commented out
Detector hardware
6 device paths in the file. Keep the ones your hardware has.
Its data on the server
/read-onlyetc/ localtime /to /path/ to/ your/ config config settings/to /path/ to/ your/ storage media/ recordingsfrigate - In memory (tmpfs)to /
tmp/ 1GB In-memory filesystem for recording segment storagecache
Drawn from step 6 of the Debian + Docker steps. Ports are the ones in those steps and in the table below.
The diagram in words
The Debian + Docker steps install the container frigate, with ports 8971/tcp, 8554/tcp, 8555/tcp and 8555/udp; 5000/tcp is not opened by these steps. Connects to it: Browser on 8971/tcp; IP cameras on your network. Its data: /etc/localtime; /path/to/your/config (settings); /path/to/your/storage (recordings); In memory (tmpfs) (1GB In-memory filesystem for recording segment storage).
What it needs
| Ports | 8971/tcp (web page), 5000/tcp, 8554/tcp, 8555/tcp, 8555/udp |
|---|---|
| Memory | Not stated by the project (read 25 Nov 2026) |
| CPU | An Intel CPU with AVX and AVX2 that can run Debian. No core count is given. The project expects a separate detector.docs.frigate.video/frigate/hardware/ read 25 Nov 2026 |
| Disk | No figure. It depends on the number of cameras, the resolution and the frame rate.docs.frigate.video/frigate/planning_setup/ read 25 Nov 2026 |
| Licence | MIT |
| TrueNAS | Community app on TrueNAS |
| Project page | blakeblackshear/frigate |
Ports are the project's defaults. Memory and disk figures are the project's own, with the page and the date read. Estimates only.
The one thing to know before you start
Frigate is designed around a detector: a GPU, an NPU or another accelerator that makes object detection fast. Without one, the CPU does that work and the load is high. The project now says a Coral is no longer recommended for new installs. It also says bare-metal Debian is best and a Proxmox VM is not recommended. Port 5000 has no login: keep it closed to the network.
Install steps
These steps follow the project's own pages and have not been tried on real hardware yet.
They start from a server that runs Docker: set up an old laptop or PC first. Docker or bare metal for Frigate: what each method needs.
- WARNINGDo not run these steps on a server with a public IP address. Anyone on the internet could then reach the apps.
- WARNINGDo not forward these ports on your router, unless a step tells you to. The ports would then be open to the internet.
- WARNINGDo not trust ufw to close a port that Docker opens. Docker bypasses the ufw rules. Read the Docker page on firewalls.
Debian + Docker
checking Some details are still being checked.
- WARNINGUse bare-metal Debian if you can. Frigate runs best with Docker on bare-metal Debian-based systems.
- WARNINGUse a detector, such as a GPU or another accelerator. Frigate needs one for object detection.
- WARNINGKeep port 5000 closed. It has no authentication.
Install Docker Engine with the Compose plugin. Use the Docker page for Debian.
Type this command to create the docker group. If the group exists, go to the next step.
sudo groupadd dockerType this command to add your user to the docker group.
sudo usermod -aG docker $USERLog out and log in again so that the group change takes effect.
Type this command to test Docker.
docker run hello-worldSave the compose file below as docker-compose.yml.
services: frigate: container_name: frigate # privileged: true # ONLY enable if your hardware requires it (see hardware-specific docs); prefer the device mappings below restart: unless-stopped stop_grace_period: 30s # allow enough time to shut down the various services image: ghcr.io/blakeblackshear/frigate:stable shm_size: "512mb" # 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 https://github.com/jnicolson/gasket-builder - /dev/video11:/dev/video11 # For Raspberry Pi 4B - /dev/dri/renderD128:/dev/dri/renderD128 # AMD / Intel GPU, needs to be updated for your hardware - /dev/kfd:/dev/kfd # AMD Kernel Fusion Driver for ROCm - /dev/accel:/dev/accel # AMD / Intel NPU volumes: - /etc/localtime:/etc/localtime:ro - /path/to/your/config:/config - /path/to/your/storage:/media/frigate - type: tmpfs # 1GB In-memory filesystem for recording segment storage target: /tmp/cache tmpfs: size: 1000000000 ports: - "8971:8971" # - "5000:5000" # Internal unauthenticated access. Expose carefully. - "8554:8554" # RTSP feeds - "8555:8555/tcp" # WebRTC over tcp - "8555:8555/udp" # WebRTC over udp environment: FRIGATE_RTSP_PASSWORD: "password"Remove the device lines that your hardware does not use.
Set shm_size for your number of cameras.
Replace the value of FRIGATE_RTSP_PASSWORD with your own password.
Replace /path/to/your/config and /path/to/your/storage with your folders.
Type this command in the folder of the file.
docker compose up -dType this command to find the admin password in the logs.
docker logs frigateOpen https://<server address>:8971 in a browser.
Sign in as the admin user with the password from the logs.
Change the password at Settings > Users.
TrueNAS app
checking Some details are still being checked.
- WARNINGThis app is in the community train. The community supports it, and TrueNAS hides it by default.
- WARNINGUpdate TrueNAS to version 24.10.2.2 or newer before you start.
Open Apps > Configuration > Settings. Select the community checkbox. Click Save.
Open Apps > Discover Apps.
Apps > Discover Apps > search 'frigate' > Install (train: community)Search for 'frigate'.
Click Install.
Open the app from the Apps page in TrueNAS.
Find the admin password in the app logs.
Proxmox VE (VM + Docker)
checking Some details are still being checked.
- WARNINGUse a VM, not an LXC container. Proxmox says: "nesting containers inside a Proxmox QEMU VM remains a recommended practice".
- WARNINGUse bare-metal Debian if you can. Frigate says a VM on Proxmox is not recommended.
- WARNINGUse a detector, such as a GPU or another accelerator. Frigate needs one for object detection.
- WARNINGKeep port 5000 closed. It has no authentication.
Create a Debian VM in Proxmox VE.
Sign in to the VM.
Install Docker Engine with the Compose plugin. Use the Docker page for Debian.
Type this command to create the docker group. If the group exists, go to the next step.
sudo groupadd dockerType this command to add your user to the docker group.
sudo usermod -aG docker $USERLog out and log in again so that the group change takes effect.
Type this command to test Docker.
docker run hello-worldSave the compose file below as docker-compose.yml.
services: frigate: container_name: frigate # privileged: true # ONLY enable if your hardware requires it (see hardware-specific docs); prefer the device mappings below restart: unless-stopped stop_grace_period: 30s # allow enough time to shut down the various services image: ghcr.io/blakeblackshear/frigate:stable shm_size: "512mb" # 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 https://github.com/jnicolson/gasket-builder - /dev/video11:/dev/video11 # For Raspberry Pi 4B - /dev/dri/renderD128:/dev/dri/renderD128 # AMD / Intel GPU, needs to be updated for your hardware - /dev/kfd:/dev/kfd # AMD Kernel Fusion Driver for ROCm - /dev/accel:/dev/accel # AMD / Intel NPU volumes: - /etc/localtime:/etc/localtime:ro - /path/to/your/config:/config - /path/to/your/storage:/media/frigate - type: tmpfs # 1GB In-memory filesystem for recording segment storage target: /tmp/cache tmpfs: size: 1000000000 ports: - "8971:8971" # - "5000:5000" # Internal unauthenticated access. Expose carefully. - "8554:8554" # RTSP feeds - "8555:8555/tcp" # WebRTC over tcp - "8555:8555/udp" # WebRTC over udp environment: FRIGATE_RTSP_PASSWORD: "password"Remove the device lines that your hardware does not use.
Set shm_size for your number of cameras.
Replace the value of FRIGATE_RTSP_PASSWORD with your own password.
Replace /path/to/your/config and /path/to/your/storage with your folders.
Type this command in the folder of the file.
docker compose up -dType this command to find the admin password in the logs.
docker logs frigateOpen https://<server address>:8971 in a browser.
Sign in as the admin user with the password from the logs.
Change the password at Settings > Users.
Home Assistant OS add-on
checking Some details are still being checked.
- WARNINGUse the project-maintained add-on only. Its README uses older menu names.
Open Settings > Add-ons > Add-on Store.
Open Repositories.
Add this repository.
https://github.com/blakeblackshear/frigate-hass-addonsInstall the add-on 'Frigate'.
Frigate compose file: Frigate documentation. Licence: MIT. Copyright (c) 2026 Frigate, Inc. (Frigate). Licence file.
Licences and credits: Sources and licences.
What will it cost to run?
This page gives no power figure for Frigate. The planner adds up the box it runs on, where the power goes splits that figure part by part, and the guide gives idle watts and a yearly cost at your own price.
Plan a camera and home automation box in the planner, or read the home server hardware guide.
Related apps
- Home Assistant: the smart home hub that Frigate has an add-on method for
- Jellyfin: another app that stores large files