0: 申请域名,并将域名打到需要部署到服务器上

host 文件中添加以下内容 
#172.18.0.130(更改为实际部署机器的IP) srs.bazhongfeifu.com dsp.bazhongfeifu.com kafka.bazhongfeifu.com
 hhz.bazhongfeifu.com  oidc.bazhongfeifu.com minio.bazhongfeifu.com 

1: 修改 bazhong.sh 中下面的内容为真实环境中的
   <!-- export DSP_PEM_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/dsp/dsp.bazhongfeifu.com.pem
export DSP_KEY_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/dsp/dsp.bazhongfeifu.com.key

export HHZ_PEM_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/hhz/hhz.bazhongfeifu.com.pem
export HHZ_KEY_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/hhz/hhz.bazhongfeifu.com.key

export MINIO_PEM_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/minio/minio.bazhongfeifu.com.pem
export MINIO_KEY_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/minio/minio.bazhongfeifu.com.key

export OIDC_PEM_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/oidc/oidc.bazhongfeifu.com.pem
export OIDC_KEY_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/oidc/oidc.bazhongfeifu.com.key

export SRS_PEM_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/srs/srs.bazhongfeifu.com.pem
export SRS_KEY_PATH=/Users/sunpeng/workspace/remote/docker/nginxbazhong/certs/srs/srs.bazhongfeifu.com.key -->
2: 到init目录
2.1 source ../bazhong.sh
2.2 依次执行init文件夹下 1  2  3  4  5  6  7  8  12  13  10个脚本
2.3 联系拓恒提供mysql刷数脚本 （之前提供过 tuoheng_hhz tuoheng_oidc tuoheng_dsp xxl_job ）
    更换域名的时候,tuoheng_oidc 需要修改 auth2_register_client 中 client_id = tuoheng-hhz-admin 这条数据的 redirect_urls 字段中的内容
3: 将修改后的 bazhong.sh 文件提供给 拓恒 
4: 拓恒打镜像
5: 依次执行 start文件夹下的启动脚本; 采用 ./xxx.sh 的方式执行，不要使用 sh ./xxx.sh 的方式执行;
   5.1 oidcservice
   5.2 hhzadmin 
   5.3 hhzapi 
   5.4 dspapi 
   5.5 网关的启动脚本 gateway/startGateWay.sh （replace_vars.sh 不需要手动执行）
   5.6 nginx.sh 启动脚本最后执行
 

后期升级的时候，只需要执行start文件夹下的启动脚本，之前前都需要执行  source ../bazhong.sh