统一配置

This commit is contained in:
孙小云 2025-12-06 15:01:14 +08:00
parent e9642d6054
commit 25cea46313
2 changed files with 31 additions and 1 deletions

View File

@ -3,7 +3,7 @@ MediaRtsp=10002
MediaRtp=10003
WebHttp=8080
WebHttps=8081
WebHttps=443
Stream_IP=127.0.0.1
SDP_IP=127.0.0.1

View File

@ -96,6 +96,36 @@ services:
- ./logs/wvp:/opt/wvp/logs/
environment:
TZ: "Asia/Shanghai"
Stream_IP: ${Stream_IP:127.0.0.1}
# SDP里的IP
SDP_IP: ${SDP_IP:127.0.0.1}
# [可选] zlm服务器访问WVP所使用的IP, 默认使用127.0.0.1zlm和wvp没有部署在同一台服务器时必须配置
ZLM_HOOK_HOST: polaris-wvp
ZLM_HOST: polaris-media
ZLM_SERCERT: su6TiedN2rVAmBbIDX0aa0QTiBJLBdcf
MediaHttp: ${WebHttp:-8080}
#MediaHttps: ${WebHttps:-443}
MediaRtmp: ${MediaRtmp:-10001}
MediaRtsp: ${MediaRtsp:-10002}
MediaRtp: ${MediaRtp:-10003}
REDIS_HOST: polaris-redis
REDIS_PORT: 6379
DATABASE_HOST: polaris-mysql
DATABASE_PORT: 3306
DATABASE_USER: wvp_user
DATABASE_PASSWORD: wvp_password
SIP_ShowIP: ${SIP_ShowIP:127.0.0.1}
SIP_Port: ${SIP_Port:-8160}
SIP_Domain: ${SIP_Domain:3502000000}
SIP_Id: ${SIP_Id:35020000002000000001}
SIP_Password: ${SIP_Password:wvp_sip_password}
RecordSip: ${RecordSip:true}
RecordPushLive: ${RecordPushLive:false}
polaris-nginx:
# 显式指定构建上下文和Dockerfile路径