From ef82a0d3f0044f4f6485452e44a1f59ebf31d59f Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 Sep 2024 10:23:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20yudao-server/src/main/?= =?UTF-8?q?resources/application-local.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改redis密码 --- yudao-server/src/main/resources/application-local.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index 168d268..4d15510 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -79,7 +79,7 @@ spring: # host: 127.0.0.1 # 地址 port: 6379 # 端口 database: 0 # 数据库索引 -# password: dev # 密码,建议生产环境开启 + password: Zykj9480a. # 密码,建议生产环境开启 --- #################### 定时任务相关配置 #################### From 4eb4515983654c9feecf8524025f5a00ba307919 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 Sep 2024 10:45:36 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20yudao-server/run.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-server/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yudao-server/run.sh b/yudao-server/run.sh index fec6db6..3efe190 100644 --- a/yudao-server/run.sh +++ b/yudao-server/run.sh @@ -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}" \ No newline at end of file