mapletree/lxc2/frigate/frigate.yml
admin_jk 294ded0621
Some checks failed
PVE2 Infrastructure Deploy / terraform (push) Has been cancelled
update frigate and add krusader
2026-02-18 14:52:14 -07:00

28 lines
893 B
YAML
Executable file

services:
frigate:
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
privileged: true
env_file:
- /docker/frigate/creds.env
devices:
- /dev/nvidia0:/dev/nvidia0
- /dev/nvidiactl:/dev/nvidiactl
- /dev/nvidia-uvm:/dev/nvidia-uvm
- /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
container_name: frigate
restart: unless-stopped
shm_size: 512m
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/homeassistant/frigate:/config
- /mnt/local_configs/frigate/cache:/tmp/cache
- /pool/securitycameras:/media
network_mode: host
runtime: nvidia
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all,video,compute
- FRIGATE_SQLITE_PATH=/config/frigate.db
- FRIGATE_SQLITE_JOURNAL_MODE=DELETE
- PUID=1000
- PGID=1000