docker/巴中部署文档.md

22 lines
993 B
Markdown
Raw Normal View History

2025-06-03 14:57:14 +08:00
0: 申请域名,并将域名打到需要部署到服务器上
2025-06-11 11:16:57 +08:00
host 文件中添加以下内容
#172.18.0.130(更改为实际部署机器的IP) srs.bazhongfeifu.com dsp.bazhongfeifu.com kafka.bazhongfeifu.com hhz.bazhongfeifu.com oidc.bazhongfeifu.com mino.bazhongfeifu.com
2025-06-03 14:57:14 +08:00
1: 修改 bazhong.sh 中内容
2: 到init目录
2.1 source ../bazhong.sh
2025-06-11 11:16:57 +08:00
2.2 依次执行init文件夹下 1 2 3 4 5 6 7 8 12 13 10个脚本
2025-06-03 14:57:14 +08:00
2.3 联系拓恒提供mysql刷数脚本
2025-06-11 11:16:57 +08:00
3: 将修改后的 bazhong.sh 文件提供给 拓恒
2025-06-03 14:57:14 +08:00
4: 拓恒打镜像
2025-06-11 12:52:16 +08:00
5: 依次执行 start文件夹下的启动脚本; 采用 ./xxx.sh 的方式执行,不要使用 sh ./xxx.sh 的方式执行;
2025-06-11 12:31:33 +08:00
5.1 oidcservice
5.2 hhzadmin
5.3 hhzapi
5.4 dspapi
2025-06-11 12:52:16 +08:00
5.5 网关的启动脚本 gateway/startGateWay.sh replace_vars.sh 不需要手动执行)
5.6 nginx.sh 启动脚本最后执行
2025-06-11 12:31:33 +08:00
2025-06-11 12:52:16 +08:00
后期升级的时候只需要执行start文件夹下的启动脚本之前前都需要执行 source ../bazhong.sh