compose_frigate.yaml
Initiale Version des aktuell im Einsatz stehenden Überwachungs-Moduls "Frigate"
This commit is contained in:
commit
0de7a31639
|
|
@ -0,0 +1,24 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
frigate:
|
||||
container_name: frigate
|
||||
image: ghcr.io/blakeblackshear/frigate:stable
|
||||
restart: unless-stopped
|
||||
shm_size: "1gb"
|
||||
privileged: true # nötig für GPU oder Zugriff auf /dev
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- capabilities: ["gpu"] # optional, nur sichtbar wenn GPU verfügbar
|
||||
environment:
|
||||
NVIDIA_VISIBLE_DEVICES: all
|
||||
NVIDIA_DRIVER_CAPABILITIES: compute,video,utility
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /opt/frigate/config:/config
|
||||
- /opt/frigate/media:/media/frigate
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "1935:1935"
|
||||
Loading…
Reference in New Issue