No description
  • Jinja 54.5%
  • Shell 45.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kevin Heyer 1c9e841ca6 Add MIT license [skip ci]
The repository is public but had no license, so no one was allowed to use it.
MIT, copyright iac contributors.. No build needed.
2026-11-17 07:08:24 +01:00
.forgejo/workflows Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
.vibe Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
defaults Build the vod module from the fork dio-az, without secure-token 2026-11-09 20:56:09 +01:00
docs Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
files Build the vod module from the fork dio-az, without secure-token 2026-11-09 20:56:09 +01:00
handlers Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
tasks Build the vod module from the fork dio-az, without secure-token 2026-11-09 20:56:09 +01:00
templates Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
tests Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
.clinerules Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
.cursorrules Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
.windsurfrules Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
AGENTS.md Name pve.sh as the only host management in AGENTS.md 2026-10-27 15:01:38 +01:00
CHANGELOG.md Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
CLAUDE.md Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
GEMINI.md Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
iac.json Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00
LICENSE Add MIT license [skip ci] 2026-11-17 07:08:24 +01:00
README.md Add iac-frigate: Frigate NVR built natively from its Git tag 2026-10-24 21:30:16 +02:00

iac-frigate

Frigate NVR als LXC oder VM auf Proxmox VE: Videorekorder für IP-Kameras mit Objekterkennung in Echtzeit (Personen, Autos, Tiere), Aufnahmen, Ereignissen und Live-Ansicht im Browser. Teil von iac.

Frigate gibt es offiziell nur als Docker-Image. iac baut es nativ auf Debian 13 aus dem Git-Tag – mit genau den Versionen, die das Dockerfile des Releases festlegt.

Installation (auf der Proxmox-Node)

bash -c "$(curl -fsSL https://iac.heyer.systems/frigate/ct.sh)"   # LXC
bash -c "$(curl -fsSL https://iac.heyer.systems/frigate/vm.sh)"   # VM

Ohne Dialog: IAC_NONINTERACTIVE=1 und var_*-Variablen – am einfachsten mit dem Generator auf https://iac.heyer.systems/apps/frigate/. Die erste Installation baut Frigate (nginx, Web-UI, Python-Umgebung) und dauert etwa 15 Minuten.

Anmelden

https://<IP>:8971/ – das Zertifikat ist selbst signiert. Benutzer admin, Passwort im Gast:

grep frigate_admin_password /etc/iac/settings.env

iac setzt es einmal nach dem ersten Start; ein in Frigate geändertes Passwort bleibt.

Ports

Port Dienst Erreichbar
8971/tcp Weboberfläche und API (HTTPS, Login) private Netze
8554/tcp RTSP-Restream der Kameras (go2rtc) private Netze
8555/tcp+udp WebRTC-Live-Ansicht (go2rtc) private Netze
5000/tcp API ohne Login nur im Gast (127.0.0.1)
1984/tcp API von go2rtc nur im Gast

Objekterkennung und GPU

Voreingestellt ist OpenVINO auf der CPU – das reicht für ein bis drei Kameras. Mit einer Intel-GPU (N100, Core i3/i5/i7) laufen Erkennung (device: GPU) und Video-Dekodierung (hwaccel_args: preset-vaapi) dort. Dafür braucht der Gast /dev/dri vom Proxmox-Host – Anleitung auf der Website (Abschnitt „GPU“). Nicht enthalten: Coral, Hailo, NVIDIA, ROCm.

Konfiguration und Daten

Was Wo
Frigate-Konfiguration /var/lib/frigate/config/config.yml – am besten im Konfigurationseditor der Weboberfläche; iac schreibt sie nur beim ersten Mal
Datenbank, Modell-Cache /var/lib/frigate/config/ (im Dienst als /config)
Aufnahmen, Clips, Exporte frigate_media_location, Standard /var/lib/frigate/media (im Dienst als /media/frigate)
Zertifikat /var/lib/frigate/letsencrypt/live/frigate/{fullchain,privkey}.pem – eigenes einfach ersetzen, dann systemctl restart frigate-nginx
Programm /opt/frigate (aktiver Release unter /opt/frigate-releases/)

Aufnahmen werden schnell groß: für frigate_media_location am besten ein eigenes Volume (Proxmox: Mountpoint im LXC bzw. zweite Platte in der VM) und den Pfad in /etc/iac/settings.env setzen, dann update.

Dienste: frigate, frigate-go2rtc, frigate-nginx – Logs mit journalctl -u frigate.

Update (im Gast)

update

Eine neue Frigate-Version wird wie bei der Installation gebaut und erst danach aktiviert. Frigate ist noch in Version 0.x: Ein Sprung der zweiten Zahl (0.18 → 0.19) kann die Konfiguration ändern – die Release Notes vorher lesen.

Selbsttest (im Gast)

bash /var/lib/iac/src/core/bin/iac-smoke

Woher die Teile kommen

Alles nach den Vorgaben von docker/main/ des Releases, jeweils geprüft:

Teil Quelle, Prüfung
Frigate Git-Tag, Commit laut GitHub
Python 3.11 uv (python-build-standalone, Prüfsummen in uv)
Python-Pakete requirements-wheels.txt per uv – wie im offiziellen Image ohne Hashes, Frigate veröffentlicht keine
nginx 1.27 nginx.org, PGP-Signatur; Module aus Git-Tags (Commit laut GitHub), Patches aus build_nginx.sh
go2rtc, ffmpeg 8, sqlite-vec, Intel-GPU-Runtime GitHub-Releases, SHA-256-Digest von GitHub
tempio Git-Tag, Go-Module über go.sum
Web-UI Node.js (SHASUMS256 von nodejs.org), package-lock.json
Modelle SHA-256 in defaults/main.yml (Frigate nennt keine)