Homelab Plan

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/blakeblackshear/frigate:stable

  • 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

  • /etc/localtimeread-only
  • /path/to/your/configto /configsettings
  • /path/to/your/storageto /media/frigaterecordings
  • In memory (tmpfs)to /tmp/cache1GB In-memory filesystem for recording segment storage

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

Ports8971/tcp (web page), 5000/tcp, 8554/tcp, 8555/tcp, 8555/udp
MemoryNot stated by the project (read 25 Nov 2026)
CPUAn 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
DiskNo figure. It depends on the number of cameras, the resolution and the frame rate.docs.frigate.video/frigate/planning_setup/ read 25 Nov 2026
LicenceMIT
TrueNASCommunity app on TrueNAS
Project pageblakeblackshear/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.

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.
  1. Install Docker Engine with the Compose plugin. Use the Docker page for Debian.

  2. Type this command to create the docker group. If the group exists, go to the next step.

    sudo groupadd docker
  3. Type this command to add your user to the docker group.

    sudo usermod -aG docker $USER
  4. Log out and log in again so that the group change takes effect.

  5. Type this command to test Docker.

    docker run hello-world
  6. Save 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"
  7. Remove the device lines that your hardware does not use.

  8. Set shm_size for your number of cameras.

  9. Replace the value of FRIGATE_RTSP_PASSWORD with your own password.

  10. Replace /path/to/your/config and /path/to/your/storage with your folders.

  11. Type this command in the folder of the file.

    docker compose up -d
  12. Type this command to find the admin password in the logs.

    docker logs frigate
  13. Open https://<server address>:8971 in a browser.

  14. Sign in as the admin user with the password from the logs.

  15. 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.
  1. Open Apps > Configuration > Settings. Select the community checkbox. Click Save.

  2. Open Apps > Discover Apps.

    Apps > Discover Apps > search 'frigate' > Install (train: community)
  3. Search for 'frigate'.

  4. Click Install.

  5. Open the app from the Apps page in TrueNAS.

  6. 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.
  1. Create a Debian VM in Proxmox VE.

  2. Sign in to the VM.

  3. Install Docker Engine with the Compose plugin. Use the Docker page for Debian.

  4. Type this command to create the docker group. If the group exists, go to the next step.

    sudo groupadd docker
  5. Type this command to add your user to the docker group.

    sudo usermod -aG docker $USER
  6. Log out and log in again so that the group change takes effect.

  7. Type this command to test Docker.

    docker run hello-world
  8. Save 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"
  9. Remove the device lines that your hardware does not use.

  10. Set shm_size for your number of cameras.

  11. Replace the value of FRIGATE_RTSP_PASSWORD with your own password.

  12. Replace /path/to/your/config and /path/to/your/storage with your folders.

  13. Type this command in the folder of the file.

    docker compose up -d
  14. Type this command to find the admin password in the logs.

    docker logs frigate
  15. Open https://<server address>:8971 in a browser.

  16. Sign in as the admin user with the password from the logs.

  17. 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.
  1. Open Settings > Add-ons > Add-on Store.

  2. Open Repositories.

  3. Add this repository.

    https://github.com/blakeblackshear/frigate-hass-addons
  4. Install 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

All 18 apps