Link to this headingPodman
Link to this headingQuadlet
Container File:
Description=Frigate
After=network-online.target
#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
#Restart automatically
Restart=always
#Give it a 15 minutes to start
#Since any image pulls will take a long time
TimeoutStartSec=900
# Start on boot (default.target is 'on boot')
WantedBy=multi-user.target
Start the service:
#The first time will take awhile since it pulls the image
#View Logs
#journalctl -xeu frigate