Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
29 lines
895 B
YAML
Executable file
29 lines
895 B
YAML
Executable file
services:
|
|
frigate:
|
|
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
|
|
privileged: true
|
|
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
|