Skip to content

Podman

Podman

Quadlet

Quadman Varables

Container File:

>>> cat /etc/containers/systemd/frigate.container
[Unit]
Description=Frigate video recorder
After=network-online.target

[Container]
#Basic setup
ContainerName=frigate
#Use LXC host networking
#To avoid any Docker network nonsense
Network=host
#How to add environment variables like passwords
Environment=FRIGATE_RTSP_PASSWORD="password"
Environment=FRIGATE_MQTT_USER="user"
Environment=FRIGATE_MQTT_PASSWORD="pass"
#Mounted volumes
Volume=/var/frigate/media:/media
Volume=/var/frigate/config:/config
Volume=/etc/localtime:/etc/localtime:ro
#TempFS 
Mount=type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000:U
ShmSize=64m
#The image itself
Image=ghcr.io/blakeblackshear/frigate:stable
#Auto-update from the registry
AutoUpdate=registry

[Service]
#Restart automatically
Restart=always
#Give it a 15 minutes to start
#Since any image pulls will take a long time
TimeoutStartSec=900

[Install]
# Start on boot (default.target is 'on boot')
WantedBy=multi-user.target default.target

Start the service:

systemctl daemon-reload
#The first time will take awhile since it pulls the image
systemctl start frigate

#View Logs
#journalctl -xeu frigate