2
0

feat: update ip to dynamic name

This commit is contained in:
simonzhangsz
2024-12-10 21:04:03 +08:00
parent 33998c7d7d
commit 3b7c6e6715
4 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
spring:
redis:
host: 192.168.2.248
host: wfc-redis
port: 6379
password:

View File

@@ -1,6 +1,6 @@
spring:
redis:
host: 192.168.2.248
host: wfc-redis
port: 6379
password:
cloud:

View File

@@ -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
# 从库数据源

View File

@@ -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
# 从库数据源