frigate: move storage to dedicated nfs share and offload transcoding to separate go2rtc deployment

This commit is contained in:
2024-10-19 13:51:13 +03:00
parent 2964034cd3
commit da4df6c21d
4 changed files with 124 additions and 46 deletions

View File

@@ -87,18 +87,11 @@ config: |
default: 30
mode: motion
go2rtc:
streams:
server_room: "ffmpeg:http://user:{FRIGATE_RTSP_PASSWORD}@100.102.2.2:8080/?action=stream#video=h264"
chaos: "ffmpeg:http://user:{FRIGATE_RTSP_PASSWORD}@100.102.2.3:8080/?action=stream#video=h264"
cyber: "ffmpeg:http://user:{FRIGATE_RTSP_PASSWORD}@100.102.2.8:8080/?action=stream#video=h264"
workshop: "ffmpeg:http://user:{FRIGATE_RTSP_PASSWORD}@100.102.2.10:8080/?action=stream#video=h264"
cameras:
server_room:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/server_room
- path: rtsp://go2rtc:8554/server_room
roles:
- detect
- rtmp
@@ -106,7 +99,7 @@ config: |
chaos:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/chaos
- path: rtsp://go2rtc:8554/chaos
roles:
- detect
- rtmp
@@ -114,7 +107,7 @@ config: |
cyber:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/cyber
- path: rtsp://go2rtc:8554/cyber
roles:
- detect
- rtmp
@@ -122,7 +115,7 @@ config: |
workshop:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/workshop
- path: rtsp://go2rtc:8554/workshop
roles:
- detect
- rtmp
@@ -181,7 +174,5 @@ persistence:
media:
enabled: true
storageClass: "frigate-data"
accessMode: ReadWriteOnce
size: 100Gi
skipuninstall: false
existingClaim: "frigate-storage"
skipuninstall: true