mapletree/lxc2/frigate/frigate.yml
admin_jk 3b06b7a188
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
update frigate config
2026-02-17 12:20:56 -07:00

31 lines
945 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
privileged: true
shm_size: 512m
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/homeassistant/frigate:/config
- /mnt/local_configs/frigate/cache:/tmp/cache
- /pool/securitycameras:/media
ports:
- "5000:5000"
- "1935:1935"
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