Skip to content

Commit 42ebceb

Browse files
jss-tgroot
andauthored
fix: 正确引用video的minio端口 (#4)
Co-authored-by: root <root@tg.bx>
1 parent 2c34b82 commit 42ebceb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env.default

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ VIDEO_PORT_RTMP=9005
4141

4242
# 前端和App对讲&flv的https端口,目前使用5个端口, 大于支持30个通道
4343
# 增加端口需要修改nginx的config和docker-compose.yml以及rtp服务映射
44-
VIDEO_PORT_HTTPS_0=443 # 推荐443或者9084
44+
VIDEO_PORT_HTTPS_0=9084 # 推荐443或者9084
4545
VIDEO_PORT_HTTPS_1=9085
4646
VIDEO_PORT_HTTPS_2=9086
4747
VIDEO_PORT_HTTPS_3=9087

video/compose.storage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
- gateway_dvr_enabled=true
1515
# 启用mini 录像将存放minio中do
1616
- spring_minio_enabled=true
17-
- spring_minio_domain=https://${VIDEO_HOSTNAME:?required}/minio
17+
- spring_minio_domain=https://${VIDEO_HOSTNAME:?required}:${VIDEO_PORT_HTTPS_0}/minio
1818
- spring_minio_endpoint=http://minio:9000
1919
- spring_minio_accessKey=${MINIO_ACCESSKEY:?required}
2020
- spring_minio_secretKey=${MINIO_SECRETKEY:?required}

0 commit comments

Comments
 (0)