添加版本的控制

This commit is contained in:
孙小云 2025-05-27 10:03:46 +08:00
parent c5c5b5d4fa
commit fa25437358
3 changed files with 64 additions and 3 deletions

View File

@ -174,8 +174,18 @@ else
fi
export MINIO_ROOT_USER=miniopassword
export MINIO_ROOT_PASSWORD=miniopassword
export MINIO_ACCESS_KEY=shvngIfksXjTqlQHKSxt
export MINIO_SECRET_KEY=Xed4RsGAF1iX7bzEsNEXydnEYsWMUHzU4cA4IPGl
if [ -z "$MINIO_ACCESS_KEY" ]; then
export MINIO_ACCESS_KEY=shvngIfksXjTqlQHKSxt
else
echo "环境变量 MINIO_ACCESS_KEY 已设置,设置为 ${MINIO_ACCESS_KEY}"
fi
if [ -z "$MINIO_SECRET_KEY" ]; then
export MINIO_SECRET_KEY=Xed4RsGAF1iX7bzEsNEXydnEYsWMUHzU4cA4IPGl
else
echo "环境变量 MINIO_SECRET_KEY 已设置,设置为 ${MINIO_SECRET_KEY}"
fi
# Elasticsearch 配置
export ES_NAME=ES_${DOMAIN}

View File

@ -32,7 +32,46 @@ nginx的vhosts里面的cert文件需要更新为域名的配置文件
docker exec KAFKA_develop /opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server 127.0.0.1:9092 --list
3: 建minio的权限
在所有服务都部署完之后才可以
https://minio-develop.t-aaron.com:3443/
https://minioconsole-develop.t-aaron.com:3443/
miniopassword
miniopassword
bucket:
default
image
ta-tech-image
th-airport
prodFile
th-dsp
video
~~~~~~~~~
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"admin:*"
]
},
{
"Effect": "Allow",
"Action": [
"kms:*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::*"
]
}
]
}
构建镜像 在tuoheng的服务器上构建
@ -42,7 +81,14 @@ nginx的vhosts里面的cert文件需要更新为域名的配置文件
srs: 推流: rtmp://srs-bazhong.t-aaron.com/live/1
读流: https://srs-bazhong.t-aaron.com:2443/live/1.flv
rtmp://srs-develop.t-aaron.com:1938/live/1
https://srs-develop.t-aaron.com:3443/live/1.flv
录制地址:https://srs-bazhong.t-aaron.com:2443/recording/50ae8720-d8b3-40c6-9e2b-4eb31ed619e6.mp4
https://srs-develop.t-aaron.com:3443/recording/50ae8720-d8b3-40c6-9e2b-4eb31ed619e6.mp4
部署在巴中:

View File

@ -18,6 +18,11 @@ export SRS_RTMP_PORT=1938
export MINIO_API_PORT=9700
# Minio控制台对外爆露端口
export MINIO_CONSOLE_PORT=9022
export MINIO_ACCESS_KEY=5x2X7FkeyxEYQPAFOUet
export MINIO_SECRET_KEY=WOH5bzWr3OdrdzrPdN3hXFlxsSWJuRW2kQeRUbJI
# Consul 配置
export CONSUL_PORT=8600
# XXL-Job 配置