From b47bfb00b54166de192251cce5225f4196f541c8 Mon Sep 17 00:00:00 2001 From: ilgiz Date: Wed, 16 Sep 2026 12:55:39 +0300 Subject: [PATCH] frigate-server --- config.yml.fs | 147 +++++++++++++++++++++++++-------------------- docker-compose.yml | 8 +-- 2 files changed, 86 insertions(+), 69 deletions(-) diff --git a/config.yml.fs b/config.yml.fs index a311cb9..5733531 100644 --- a/config.yml.fs +++ b/config.yml.fs @@ -119,14 +119,16 @@ cameras: enabled: false record: enabled: true - retain: - days: 7 - mode: all - events: + alerts: retain: - default: 30 - mode: motion - + days: 30 + detections: + retain: + days: 30 + continuous: + days: 7 + motion: + days: 0 priem: ffmpeg: output_args: @@ -143,14 +145,16 @@ cameras: enabled: false record: enabled: true - retain: - days: 7 - mode: all - events: + alerts: retain: - default: 30 - mode: motion - + days: 30 + detections: + retain: + days: 30 + continuous: + days: 7 + motion: + days: 0 work: ffmpeg: output_args: @@ -167,14 +171,16 @@ cameras: enabled: false record: enabled: true - retain: - days: 7 - mode: all - events: + alerts: retain: - default: 30 - mode: motion - + days: 30 + detections: + retain: + days: 30 + continuous: + days: 7 + motion: + days: 0 sklad: ffmpeg: output_args: @@ -191,14 +197,16 @@ cameras: enabled: false record: enabled: true - retain: - days: 7 - mode: all - events: + alerts: retain: - default: 30 - mode: motion - + days: 30 + detections: + retain: + days: 30 + continuous: + days: 7 + motion: + days: 0 sborka: ffmpeg: output_args: @@ -215,14 +223,16 @@ cameras: enabled: false record: enabled: true - retain: - days: 7 - mode: all - events: + alerts: retain: - default: 30 - mode: motion - + days: 30 + detections: + retain: + days: 30 + continuous: + days: 7 + motion: + days: 0 stair: ffmpeg: output_args: @@ -239,14 +249,16 @@ cameras: enabled: false record: enabled: true - retain: - days: 7 - mode: all - events: + alerts: retain: - default: 30 - mode: motion - + days: 30 + detections: + retain: + days: 30 + continuous: + days: 7 + motion: + days: 0 hall: ffmpeg: output_args: @@ -263,14 +275,16 @@ cameras: enabled: false record: enabled: true - retain: - days: 7 - mode: all - events: + alerts: retain: - default: 30 - mode: motion - + days: 30 + detections: + retain: + days: 30 + continuous: + days: 7 + motion: + days: 0 table1: ffmpeg: output_args: @@ -287,14 +301,16 @@ cameras: enabled: false record: enabled: true - retain: - days: 7 - mode: all - events: + alerts: retain: - default: 30 - mode: motion - + days: 30 + detections: + retain: + days: 30 + continuous: + days: 7 + motion: + days: 0 table2: ffmpeg: output_args: @@ -311,13 +327,14 @@ cameras: enabled: false record: enabled: true - retain: - days: 7 - mode: all - events: + alerts: retain: - default: 30 - mode: motion - - -version: 0.14 + days: 30 + detections: + retain: + days: 30 + continuous: + days: 7 + motion: + days: 0 +version: 0.17-0 diff --git a/docker-compose.yml b/docker-compose.yml index cd9fdf1..64e6613 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,16 +14,16 @@ services: - /etc/localtime:/etc/localtime:ro - /srv/frigate/config:/config - /srv/frigate/storage:/media/frigate - - ./config.yml.mp:/config/config.yml + - ./config.yml.fs:/config/config.yml - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear target: /tmp/cache tmpfs: size: 1000000000 ports: - "8971:8971" -# - "5000:5000" # Internal unauthenticated access. Expose carefully. + - "5000:5000" # Internal unauthenticated access. Expose carefully. - "8554:8554" # RTSP feeds - "8555:8555/tcp" # WebRTC over tcp - "8555:8555/udp" # WebRTC over udp - environment: - FRIGATE_RTSP_PASSWORD: "password" +# environment: +# FRIGATE_RTSP_PASSWORD: "password"