From 800b4f6f93483dbfe2f0945eb8d0d25bbd43764f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sat, 11 Apr 2026 14:42:07 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E6=9B=B4=E6=96=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E5=92=8CRedis=E8=BF=9E=E6=8E=A5=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将数据库连接地址更改为1Panel-mysql-XsWW,并调整端口号为3306 - 更新Redis主机地址为1Panel-redis-GmNr,端口改为6379 - 保持其他连接参数和认证信息不变 --- src/main/resources/application-glt2.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application-glt2.yml b/src/main/resources/application-glt2.yml index 4a44e6b..b583eb8 100644 --- a/src/main/resources/application-glt2.yml +++ b/src/main/resources/application-glt2.yml @@ -7,7 +7,7 @@ server: # 数据源配置 spring: datasource: - url: jdbc:mysql://47.107.249.41:13306/gltdb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai + url: jdbc:mysql://1Panel-mysql-XsWW:3306/gltdb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai username: gltdb password: EeD4FtzyA5ksj7Bk driver-class-name: com.mysql.cj.jdbc.Driver @@ -16,8 +16,8 @@ spring: # redis redis: database: 0 - host: 47.107.249.41 - port: 16379 + host: 1Panel-redis-GmNr + port: 6379 password: redis_t74P8C # 日志配置