|
@@ -1,15 +1,15 @@
|
|
|
# 数据源配置
|
|
|
spring:
|
|
|
profiles:
|
|
|
- include: config-druid-sxjz,common
|
|
|
+ include: config-druid-syysy,common
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
- host: 172.27.0.13
|
|
|
+ host: 172.16.0.13
|
|
|
port: 6379
|
|
|
# 数据库索引
|
|
|
database: 0
|
|
|
# 密码
|
|
|
- password: Sxdtcbm@#+!2025
|
|
|
+ password: Ylrz_tM8/oW6$pU9|tJ#&
|
|
|
# 连接超时时间
|
|
|
timeout: 10s
|
|
|
lettuce:
|
|
@@ -39,16 +39,15 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://172.27.0.6:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ url: jdbc:mysql://172.16.0.7:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
|
- password: Sxdtcbm@#+!2025
|
|
|
+ password: Ylrz_tM818782145I@
|
|
|
# 从库数据源
|
|
|
slave:
|
|
|
# 从数据源开关/默认关闭
|
|
|
- enabled: false
|
|
|
- url:
|
|
|
- username:
|
|
|
- password:
|
|
|
+ url: jdbc:mysql://172.16.0.16:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ username: root
|
|
|
+ password: Ylrz_tM818782145I@
|
|
|
# 初始连接数
|
|
|
initialSize: 5
|
|
|
# 最小连接池数量
|
|
@@ -94,9 +93,9 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://172.27.0.6:3306/fs_his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ url: jdbc:mysql://172.16.0.7:3306/sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
|
- password: Sxdtcbm@#+!2025
|
|
|
+ password: Ylrz_tM818782145I@
|
|
|
# 初始连接数
|
|
|
initialSize: 5
|
|
|
# 最小连接池数量
|