chore: update thinkstation/frigate compose (Portainer migration)
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
services:
|
||||||
|
frigate:
|
||||||
|
container_name: frigate
|
||||||
|
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
|
||||||
|
privileged: true
|
||||||
|
shm_size: "1024mb"
|
||||||
|
restart: always
|
||||||
|
runtime: nvidia
|
||||||
|
environment:
|
||||||
|
- NVIDIA_VISIBLE_DEVICES=all
|
||||||
|
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
|
||||||
|
- FRIGATE_RTSP_PASSWORD=restreampass
|
||||||
|
secrets:
|
||||||
|
- frigate_jwt_secret
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- driver: nvidia
|
||||||
|
count: 1
|
||||||
|
capabilities: [gpu, compute, video]
|
||||||
|
volumes:
|
||||||
|
- /srv/docker/frigate/config:/config
|
||||||
|
- /mnt/14TB-HD/frigate/media:/media/frigate
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
ports:
|
||||||
|
- "5000:5000"
|
||||||
|
- "8971:8971"
|
||||||
|
- "8554:8554"
|
||||||
|
- "8555:8555/tcp"
|
||||||
|
- "8555:8555/udp"
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
frigate_jwt_secret:
|
||||||
|
file: /srv/docker/frigate/config/jwt_secret
|
||||||
Reference in New Issue
Block a user