This commit is contained in:
Kevin
2026-05-22 16:04:32 +08:00
parent 4736413f94
commit 831000101e
8 changed files with 262 additions and 81 deletions

View File

@@ -89,12 +89,12 @@ POSTGRES_PORT=45432
# 链路 2模拟实时与链路 3离线 batch需开启链路 1 真 RTSP 开录不依赖此项
# DEMO_ORCHESTRATOR_ENABLED=false
# DEMO_ORCHESTRATOR_RTSP_PORT=18554
# 联调台 HLS 预览(MediaMTX 8888 映射到宿主机端口;API 反代给浏览器
# 联调台 HLS 预览(推荐 Compose 侧车 mediamtx-hlsAPI 反代)
# DEMO_HLS_PREVIEW_UPSTREAM=http://mediamtx-hls:8888
# DEMO_HLS_PREVIEW_CONFIG_DIR=/hls-preview-config
# 本机无 Compose 时:留空 upstream临时 docker 容器 + 端口 18888
# DEMO_HLS_PREVIEW_PORT=18888
# API 在 Docker 内访问宿主机 HLShost.docker.internaldocker -p 会自动绑定 127.0.0.1
# DEMO_HLS_PREVIEW_HOST=127.0.0.1
# 可选:显式指定 docker -p 绑定地址(一般留空)
# DEMO_HLS_PREVIEW_BIND_HOST=127.0.0.1
# Docker 内 API 访问宿主机假流时写入站点 JSON 的主机名(默认 host.docker.internal
# DOCKER_DEMO_ORCHESTRATOR_RTSP_JSON_HOST=host.docker.internal
# 链路 2 simulated-start / fake_rtsp_from_file 起 MediaMTX 容器用