docker/巴中部署文档.md

22 lines
993 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

0: 申请域名,并将域名打到需要部署到服务器上
host 文件中添加以下内容
#172.18.0.130(更改为实际部署机器的IP) srs.bazhongfeifu.com dsp.bazhongfeifu.com kafka.bazhongfeifu.com hhz.bazhongfeifu.com oidc.bazhongfeifu.com mino.bazhongfeifu.com
1: 修改 bazhong.sh 中内容
2: 到init目录
2.1 source ../bazhong.sh
2.2 依次执行init文件夹下 1 2 3 4 5 6 7 8 12 13 10个脚本
2.3 联系拓恒提供mysql刷数脚本
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