安全:移除敏感配置文件跟踪,添加 example 模板
- application-dev.yml 含数据库/Redis/COS 密钥,从 git 移除 - docker/.env 含 COS 密钥和公网 IP,从 git 移除 - 新增 .example 模板(占位符),方便新开发者配置 - .gitignore 添加规则阻止未来误提交
This commit is contained in:
28
docker/.env.example
Normal file
28
docker/.env.example
Normal file
@@ -0,0 +1,28 @@
|
||||
MediaRtmp=10001
|
||||
MediaRtsp=10002
|
||||
MediaRtp=10003
|
||||
|
||||
WebHttp=8080
|
||||
WebHttps=8081
|
||||
|
||||
Stream_IP=127.0.0.1
|
||||
SDP_IP=127.0.0.1
|
||||
|
||||
SIP_ShowIP=127.0.0.1
|
||||
SIP_Port=8160
|
||||
SIP_Domain=3502000000
|
||||
SIP_Id=35020000002000000001
|
||||
SIP_Password=your-sip-password
|
||||
|
||||
|
||||
RecordSip=true
|
||||
RecordPushLive=
|
||||
|
||||
# COS 截图代理(腾讯云 COS)
|
||||
COS_REGION=ap-shanghai
|
||||
COS_BUCKET=your-bucket-name
|
||||
COS_SECRET_ID=your-cos-secret-id
|
||||
COS_SECRET_KEY=your-cos-secret-key
|
||||
|
||||
# AI 截图回调地址
|
||||
AI_SCREENSHOT_CALLBACK_URL=http://your-server:18080
|
||||
Reference in New Issue
Block a user