commit 0de7a316393455c1ae4552fbd51242178f4ba270 Author: Marc Blatter Date: Tue Oct 21 09:07:02 2025 +0000 compose_frigate.yaml Initiale Version des aktuell im Einsatz stehenden Überwachungs-Moduls "Frigate" diff --git a/compose_frigate.yaml b/compose_frigate.yaml new file mode 100644 index 0000000..3f3ceac --- /dev/null +++ b/compose_frigate.yaml @@ -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" \ No newline at end of file