frigate-server

This commit is contained in:
2026-09-16 12:55:39 +03:00
parent 4fa5b8bd3e
commit b47bfb00b5
2 changed files with 86 additions and 69 deletions
+73 -56
View File
@@ -119,14 +119,16 @@ cameras:
enabled: false enabled: false
record: record:
enabled: true enabled: true
alerts:
retain: retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 7 days: 7
mode: all motion:
events: days: 0
retain:
default: 30
mode: motion
priem: priem:
ffmpeg: ffmpeg:
output_args: output_args:
@@ -143,14 +145,16 @@ cameras:
enabled: false enabled: false
record: record:
enabled: true enabled: true
alerts:
retain: retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 7 days: 7
mode: all motion:
events: days: 0
retain:
default: 30
mode: motion
work: work:
ffmpeg: ffmpeg:
output_args: output_args:
@@ -167,14 +171,16 @@ cameras:
enabled: false enabled: false
record: record:
enabled: true enabled: true
alerts:
retain: retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 7 days: 7
mode: all motion:
events: days: 0
retain:
default: 30
mode: motion
sklad: sklad:
ffmpeg: ffmpeg:
output_args: output_args:
@@ -191,14 +197,16 @@ cameras:
enabled: false enabled: false
record: record:
enabled: true enabled: true
alerts:
retain: retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 7 days: 7
mode: all motion:
events: days: 0
retain:
default: 30
mode: motion
sborka: sborka:
ffmpeg: ffmpeg:
output_args: output_args:
@@ -215,14 +223,16 @@ cameras:
enabled: false enabled: false
record: record:
enabled: true enabled: true
alerts:
retain: retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 7 days: 7
mode: all motion:
events: days: 0
retain:
default: 30
mode: motion
stair: stair:
ffmpeg: ffmpeg:
output_args: output_args:
@@ -239,14 +249,16 @@ cameras:
enabled: false enabled: false
record: record:
enabled: true enabled: true
alerts:
retain: retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 7 days: 7
mode: all motion:
events: days: 0
retain:
default: 30
mode: motion
hall: hall:
ffmpeg: ffmpeg:
output_args: output_args:
@@ -263,14 +275,16 @@ cameras:
enabled: false enabled: false
record: record:
enabled: true enabled: true
alerts:
retain: retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 7 days: 7
mode: all motion:
events: days: 0
retain:
default: 30
mode: motion
table1: table1:
ffmpeg: ffmpeg:
output_args: output_args:
@@ -287,14 +301,16 @@ cameras:
enabled: false enabled: false
record: record:
enabled: true enabled: true
alerts:
retain: retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 7 days: 7
mode: all motion:
events: days: 0
retain:
default: 30
mode: motion
table2: table2:
ffmpeg: ffmpeg:
output_args: output_args:
@@ -311,13 +327,14 @@ cameras:
enabled: false enabled: false
record: record:
enabled: true enabled: true
alerts:
retain: retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 7 days: 7
mode: all motion:
events: days: 0
retain: version: 0.17-0
default: 30
mode: motion
version: 0.14
+4 -4
View File
@@ -14,16 +14,16 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /srv/frigate/config:/config - /srv/frigate/config:/config
- /srv/frigate/storage:/media/frigate - /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 - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache target: /tmp/cache
tmpfs: tmpfs:
size: 1000000000 size: 1000000000
ports: ports:
- "8971:8971" - "8971:8971"
# - "5000:5000" # Internal unauthenticated access. Expose carefully. - "5000:5000" # Internal unauthenticated access. Expose carefully.
- "8554:8554" # RTSP feeds - "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp - "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp - "8555:8555/udp" # WebRTC over udp
environment: # environment:
FRIGATE_RTSP_PASSWORD: "password" # FRIGATE_RTSP_PASSWORD: "password"