|
@@ -4,7 +4,7 @@ spring:
|
|
|
include: config-druid-yxj,common
|
|
include: config-druid-yxj,common
|
|
|
# redis 配置
|
|
# redis 配置
|
|
|
redis:
|
|
redis:
|
|
|
- host: 172.17.0.4
|
|
|
|
|
|
|
+ host: 172.16.16.15
|
|
|
port: 6379
|
|
port: 6379
|
|
|
# 数据库索引
|
|
# 数据库索引
|
|
|
database: 0
|
|
database: 0
|
|
@@ -39,13 +39,13 @@ spring:
|
|
|
druid:
|
|
druid:
|
|
|
# 主库数据源
|
|
# 主库数据源
|
|
|
master:
|
|
master:
|
|
|
- url: jdbc:mysql://172.16.0.7:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
|
+ url: jdbc:mysql://172.16.16.13:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
username: root
|
|
|
password: Ylrz_tM818782145I@
|
|
password: Ylrz_tM818782145I@
|
|
|
# 从库数据源
|
|
# 从库数据源
|
|
|
slave:
|
|
slave:
|
|
|
# 从数据源开关/默认关闭
|
|
# 从数据源开关/默认关闭
|
|
|
- url: jdbc:mysql://172.16.0.16:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
|
+ url: jdbc:mysql://172.16.0.27:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
username: root
|
|
|
password: Ylrz_tM818782145I@
|
|
password: Ylrz_tM818782145I@
|
|
|
# 初始连接数
|
|
# 初始连接数
|
|
@@ -93,7 +93,7 @@ spring:
|
|
|
druid:
|
|
druid:
|
|
|
# 主库数据源
|
|
# 主库数据源
|
|
|
master:
|
|
master:
|
|
|
- url: jdbc:mysql://172.16.0.7:3306/sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
|
+ url: jdbc:mysql://172.16.16.13:3306/sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
username: root
|
|
|
password: Ylrz_tM818782145I@
|
|
password: Ylrz_tM818782145I@
|
|
|
# 初始连接数
|
|
# 初始连接数
|