Merge branch 'master' of http://101.43.112.107:3000/root/allLikeMall into cxw
This commit is contained in:
commit
00b8b3ab61
@ -1,16 +1,16 @@
|
||||
#!/bin/bash
|
||||
app_name='zymall'
|
||||
# 定义应用版本
|
||||
app_version='1.0.0'
|
||||
app_repository='mt.ptzykjgs.com:8080/serve'
|
||||
# 定义应用环境
|
||||
#profile_active='prod'
|
||||
echo '----pull image----'
|
||||
docker pull "${app_repository}/${app_name}:${app_version}"
|
||||
echo '----stop container----'
|
||||
docker stop ${app_name}
|
||||
echo '----rm container----'
|
||||
docker rm ${app_name}
|
||||
#echo '----rm image----'
|
||||
#docker rmi -f "${app_name}:${app_version}"
|
||||
echo '----pull image----'
|
||||
docker pull "${app_repository}/${app_name}:${app_version}"
|
||||
echo '----start container----'
|
||||
docker run -d -p 6127:6127 --name ${app_name} --restart always "${app_repository}/${app_name}:${app_version}"
|
@ -79,7 +79,7 @@ spring:
|
||||
# host: 127.0.0.1 # 地址
|
||||
port: 6379 # 端口
|
||||
database: 0 # 数据库索引
|
||||
# password: dev # 密码,建议生产环境开启
|
||||
password: Zykj9480a. # 密码,建议生产环境开启
|
||||
|
||||
--- #################### 定时任务相关配置 ####################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user