From 0de7a316393455c1ae4552fbd51242178f4ba270 Mon Sep 17 00:00:00 2001 From: Marc Blatter Date: Tue, 21 Oct 2025 09:07:02 +0000 Subject: [PATCH] compose_frigate.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Initiale Version des aktuell im Einsatz stehenden Überwachungs-Moduls "Frigate" --- compose_frigate.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 compose_frigate.yaml 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