File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed
Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 11# #
22# # 服务名: JavaScriptCollection
3- # # IP范围: 172.30.0.100
3+ # # IP范围: 172.30.0.200
44# #
55version : ' 2'
66services :
@@ -12,7 +12,7 @@ services:
1212 - " 7100:80"
1313 networks :
1414 net :
15- ipv4_address : 172.30.0.100
15+ ipv4_address : 172.30.0.200
1616
1717# # 创建桥接网络
1818networks :
Original file line number Diff line number Diff line change 3434 echo -e " ${successLogger} ---------------- shell ${projectName} start ---------------- "
3535 if [ " ${isFaster} " == " faster" ]; then
3636 # # 本地构建、快速制作镜像
37- # npm run build &&
38- docker build -f Faster.Dockerfile --build-arg APP_VERSION=" ${version} " -t " ${imageTagName} " .
37+ npm run build && docker build -f Faster.Dockerfile --build-arg APP_VERSION=" ${version} " -t " ${imageTagName} " .
3938 else
4039 # # ci流程构建
4140 docker build -f Dockerfile --build-arg APP_VERSION=" ${version} " -t " ${imageTagName} " .
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ deploy_JavaScriptCollection(){
9999 echo -e " ${successLogger} ---------------- deploy ${containerName} start ---------------- "
100100
101101 docker run -d --name " ${containerName} " \
102- -p 0.0.0.0:7200 :80 \
102+ -p 0.0.0.0:7100 :80 \
103103 --network=" ${networkName} " \
104104 --restart=unless-stopped \
105105 --ip=172.30.0.200 \
Original file line number Diff line number Diff line change @@ -20,18 +20,18 @@ if [ "${commitInfo}" -eq "" ]; then
2020 commitInfo=" JavaScriptCollection Init"
2121fi
2222
23- git commit -m " refactor:${commitInfo} "
23+ # # 配置个人信息
24+ git config user.name " 吃芝士葡萄的妹妹"
25+ git config user.email " fairy_vip@2925.com"
2426
27+ git commit -m " refactor:${commitInfo} "
2528
26- # # 配置个人信息
27- git config user.name " 喜欢吃芝士葡萄的妹妹"
28- git config user.email " fairy0115@2925.com"
2929
3030# if you are deploying to https://<USERNAME>.github.io
3131# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
3232
3333# if you are deploying to https://<USERNAME>.github.io/<REPO>
34- git push -f https://github.com/mmdapl /JavaScriptCollection.git master :pages/github
34+ git push -f https://github.com/142vip /JavaScriptCollection.git main :pages/github
3535
3636
3737cd -
You can’t perform that action at this time.
0 commit comments