config: Update 2 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 21s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 21s
This commit is contained in:
@@ -10,9 +10,20 @@ services:
|
||||
- ${RECORDINGS_FOLDER}:/recordings
|
||||
environment:
|
||||
MTX_PROTOCOLS: tcp
|
||||
MTX_PATHS_COURT_SOURCE: ${MTX_PATHS_COURT_SOURCE}
|
||||
# Main stream configuration
|
||||
MTX_PATHS_COURT_MAIN_SOURCE: ${MTX_PATHS_COURT_MAIN_SOURCE}
|
||||
MTX_PATHS_COURT_MAIN_SOURCEPROTOCOL: tcp
|
||||
MTX_PATHS_COURT_MAIN_RECORD: "yes"
|
||||
MTX_PATHS_COURT_MAIN_RECORDPATH: "/recordings/%path/%Y-%m-%d_%H-%M-%S-%f.mp4"
|
||||
MTX_PATHS_COURT_MAIN_RECORDFORMAT: fmp4
|
||||
MTX_PATHS_COURT_MAIN_RECORDSEGMENTDURATION: 1h
|
||||
MTX_PATHS_COURT_MAIN_RECORDDELETEAFTER: 24h
|
||||
# Sub stream configuration
|
||||
MTX_PATHS_COURT_SUB_SOURCE: ${MTX_PATHS_COURT_SUB_SOURCE}
|
||||
MTX_PATHS_COURT_SUB_SOURCEPROTOCOL: tcp
|
||||
# Legacy court path
|
||||
MTX_PATHS_COURT_SOURCE: ${MTX_PATHS_COURT_SOURCE}
|
||||
MTX_PATHS_COURT_SOURCEPROTOCOL: tcp
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-q", "-O", "-", "http://localhost:9997/v2/paths/list"]
|
||||
interval: 30s
|
||||
|
@@ -31,26 +31,6 @@ webrtcAddress: :8889
|
||||
webrtcAllowOrigin: '*'
|
||||
|
||||
# Path Configuration
|
||||
paths:
|
||||
# Main court camera stream
|
||||
court_main:
|
||||
# Source URL is provided via environment variable MTX_PATHS_COURT_MAIN_SOURCE
|
||||
# from docker-compose.yml
|
||||
source: placeholder
|
||||
|
||||
# Recording
|
||||
record: yes
|
||||
recordPath: /recordings/%path/%Y-%m-%d_%H-%M-%S-%f.mp4
|
||||
recordFormat: fmp4
|
||||
recordSegmentDuration: 1h
|
||||
recordDeleteAfter: 24h
|
||||
|
||||
# Sub-stream for lower bandwidth
|
||||
court_sub:
|
||||
# Source URL is provided via environment variable MTX_PATHS_COURT_SUB_SOURCE
|
||||
# from docker-compose.yml
|
||||
source: placeholder
|
||||
|
||||
# Legacy court path for compatibility
|
||||
court:
|
||||
source: placeholder
|
||||
# Paths are configured entirely via environment variables in docker-compose.yml
|
||||
# This allows dynamic configuration without modifying this file
|
||||
paths: {}
|
Reference in New Issue
Block a user