This commit is contained in:
XinWei 2024-09-30 10:46:33 +08:00
commit 00b8b3ab61
2 changed files with 4 additions and 4 deletions

View File

@ -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}"

View File

@ -79,7 +79,7 @@ spring:
# host: 127.0.0.1 # 地址
port: 6379 # 端口
database: 0 # 数据库索引
# password: dev # 密码,建议生产环境开启
password: Zykj9480a. # 密码,建议生产环境开启
--- #################### 定时任务相关配置 ####################