From 3b7c6e6715d397f58d09cef4d6fcb94dce7ec02c Mon Sep 17 00:00:00 2001 From: simonzhangsz <15231584+simonzhangsz@user.noreply.gitee.com> Date: Tue, 10 Dec 2024 21:04:03 +0800 Subject: [PATCH] feat: update ip to dynamic name --- wfc-auth/src/main/resources/application.yml | 2 +- wfc-gateway/src/main/resources/application.yml | 2 +- .../wfc-modules-user/src/main/resources/application.yml | 4 ++-- wfc-modules/wfc-system/src/main/resources/application.yml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wfc-auth/src/main/resources/application.yml b/wfc-auth/src/main/resources/application.yml index 4dfb21d..d22d809 100644 --- a/wfc-auth/src/main/resources/application.yml +++ b/wfc-auth/src/main/resources/application.yml @@ -1,5 +1,5 @@ spring: redis: - host: 192.168.2.248 + host: wfc-redis port: 6379 password: diff --git a/wfc-gateway/src/main/resources/application.yml b/wfc-gateway/src/main/resources/application.yml index 1d831fd..09e1a7e 100644 --- a/wfc-gateway/src/main/resources/application.yml +++ b/wfc-gateway/src/main/resources/application.yml @@ -1,6 +1,6 @@ spring: redis: - host: 192.168.2.248 + host: wfc-redis port: 6379 password: cloud: diff --git a/wfc-modules/wfc-modules-user/src/main/resources/application.yml b/wfc-modules/wfc-modules-user/src/main/resources/application.yml index 2d9f364..9ef12da 100644 --- a/wfc-modules/wfc-modules-user/src/main/resources/application.yml +++ b/wfc-modules/wfc-modules-user/src/main/resources/application.yml @@ -1,7 +1,7 @@ # spring配置 spring: redis: - host: 192.168.2.248 + host: wfc-redis port: 6379 password: datasource: @@ -32,7 +32,7 @@ spring: # 主库数据源 master: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://192.168.2.248:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root password: 123456 # 从库数据源 diff --git a/wfc-modules/wfc-system/src/main/resources/application.yml b/wfc-modules/wfc-system/src/main/resources/application.yml index 0a4fc66..66c9f9d 100644 --- a/wfc-modules/wfc-system/src/main/resources/application.yml +++ b/wfc-modules/wfc-system/src/main/resources/application.yml @@ -1,7 +1,7 @@ # spring配置 spring: redis: - host: 192.168.2.248 + host: wfc-redis port: 6379 password: datasource: @@ -32,7 +32,7 @@ spring: # 主库数据源 master: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://192.168.2.248:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root password: 123456 # 从库数据源