Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
Self-host Frigate
updated Nov 2026deployed by usprices checked · Jul 2026Install verified on Ubuntu 26.04 · Nov 2026 · how we test
We earn commissions when you shop through the links below. Full disclosure →
A network video recorder with real-time local AI object detection for IP cameras. It uses motion detection to decide what to analyse, detects objects such as people and cars, records and keeps snapshots by rules, restreams cameras through go2rtc, and integrates with Home Assistant over MQTT. Detection runs on a CPU by default or on a Coral, GPU or other accelerator.
Pick Frigate when you have IP cameras and want a self-hosted NVR that does local object detection, so you get alerts for people and cars rather than for every moving shadow: it records by rules, keeps snapshots, restreams through go2rtc and integrates with Home Assistant over MQTT. It is MIT-licensed. Our snippet follows the installation docs' Docker Compose example with the image pinned to `0.18.2`, no cameras and no accelerator, so detection would run on the CPU, and it relies on Frigate creating its own starting config on first run. The 4096 MB figure is the upstream's own basic minimum (4 GB RAM) for a basic setup, and it recommends 8 GB if you use enrichments. In the catalog, Home Assistant is the hub Frigate usually reports to, and Eclipse Mosquitto is the broker that carries its MQTT events.
What you need
Any VPS with at least 4096 MB of RAM
A domain you control — most self-hosted setups need HTTPS in front of them
About an afternoon — budget time for troubleshooting
Frigate's installation and authentication docs flag these before you rely on the container:
non-negotiablePort 8971 is the authenticated UI and API and uses a self-signed TLS certificate by default, so browsers will warn. On first start Frigate creates an admin user and prints its password in the logs; read it with docker compose logs frigate and change it under Settings > Users (minimum 12 characters).
non-negotiablePort 5000 is the unauthenticated UI and API, which the docs say to limit and to use only inside the Docker network. Our snippet binds it to 127.0.0.1 for the readiness check, so keep it off public addresses.
non-negotiableFrigate keeps decoded frames in shared memory: Docker's default shm_size is 64 MB and the docs size it by camera count (about 210 MB for two 720p cameras, plus up to 50 MB for logs). We set 256 MB; "Bus error" messages usually mean a higher value is needed. Recording segments go through a 1 GB tmpfs at /tmp/cache.
non-negotiableReal use needs cameras, which you add in the UI or config.yml, and detection on a CPU is far slower than on a Coral or GPU; the docs call accelerators an order of magnitude faster. The container's /config holds the config and SQLite database and /media/frigate holds recordings, so size the disk for your retention.
Frigate used 691 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.9.3 (first boot, measured Nov 2026). We list a minimum of 4096 MB.
Is the Frigate install snippet verified?
The Frigate install snippet is marked verified on Ubuntu 26.04 (Nov 2026).