feat: update ip to dynamic name
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
spring:
|
spring:
|
||||||
redis:
|
redis:
|
||||||
host: 192.168.2.248
|
host: wfc-redis
|
||||||
port: 6379
|
port: 6379
|
||||||
password:
|
password:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
spring:
|
spring:
|
||||||
redis:
|
redis:
|
||||||
host: 192.168.2.248
|
host: wfc-redis
|
||||||
port: 6379
|
port: 6379
|
||||||
password:
|
password:
|
||||||
cloud:
|
cloud:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# spring配置
|
# spring配置
|
||||||
spring:
|
spring:
|
||||||
redis:
|
redis:
|
||||||
host: 192.168.2.248
|
host: wfc-redis
|
||||||
port: 6379
|
port: 6379
|
||||||
password:
|
password:
|
||||||
datasource:
|
datasource:
|
||||||
@@ -32,7 +32,7 @@ spring:
|
|||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
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
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# spring配置
|
# spring配置
|
||||||
spring:
|
spring:
|
||||||
redis:
|
redis:
|
||||||
host: 192.168.2.248
|
host: wfc-redis
|
||||||
port: 6379
|
port: 6379
|
||||||
password:
|
password:
|
||||||
datasource:
|
datasource:
|
||||||
@@ -32,7 +32,7 @@ spring:
|
|||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
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
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
|
|||||||
Reference in New Issue
Block a user