File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,10 @@ RABBITMQ_PORT=5672
100100RABBITMQ_USERNAME='' # admin
101101RABBITMQ_PASSWORD='' # 123
102102
103- ## Minio, Rtp存储模式必填
103+ ## Minio, Rtp存储模式必填, 规避RTP-9000端口冲突
104104MINIO_HOST='minio' # minio | ${SERVER_IP_INTERNAL} | ${SERVER_IP_PUBLIC}
105- MINIO_PORT=9000
105+ MINIO_PORT=8000
106+ MINIO_PORT_HTTP=8001
106107MINIO_USER=minioadmin
107108MINIO_PASSWORD='' # xxxxxxxxxxxxxxxx
108109# MINIO_ACCESSKEY/SECRETKEY需要从minio的管理后台创建
Original file line number Diff line number Diff line change @@ -4,16 +4,16 @@ services:
44 container_name : minio
55 restart : always
66 ports :
7- - ${MINIO_PORT:-9000}:9000
8- # 不需要对外
9- - 8001:9001
7+ # 原生端口是9000和9001, 规避RTP服务端口冲突, 所以-1000
8+ - ${MINIO_PORT:-8000}:${MINIO_PORT:-8000}
9+ - ${MINIO_PORT_HTTP:- 8001}:${MINIO_PORT_HTTP:-8001}
1010 environment :
1111 - MINIO_ROOT_USER=minioadmin
1212 - MINIO_ROOT_PASSWORD=${MINIO_PASSWORD:?required}
1313 - MINIO_BROWSER_REDIRECT_URL=https://${VIDEO_HOSTNAME:?required}
1414 volumes :
1515 - " /data/minio-data:/data"
16- command : server /data --console-address ":9001 "
16+ command : server /data --console-address ":${MINIO_PORT_HTTP:-8001}" --address ":${MINIO_PORT:-8000} "
1717 logging :
1818 driver : " json-file"
1919 options :
You can’t perform that action at this time.
0 commit comments