|
|
@@ -4,24 +4,24 @@ spring:
|
|
|
include: config-druid-bjczwh,common
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
- host: redis-b6d80cf4-3df9-43c8-8182-bfe3ace0098b.cn-southwest-2.dcs.myhuaweicloud.com
|
|
|
- port: 6379
|
|
|
- # 数据库索引
|
|
|
- database: 0
|
|
|
- # 密码
|
|
|
- password:
|
|
|
- # 连接超时时间
|
|
|
- timeout: 10s
|
|
|
- lettuce:
|
|
|
- pool:
|
|
|
- # 连接池中的最小空闲连接
|
|
|
- min-idle: 0
|
|
|
- # 连接池中的最大空闲连接
|
|
|
- max-idle: 8
|
|
|
- # 连接池的最大数据库连接数
|
|
|
- max-active: 100
|
|
|
- # #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
- max-wait: -1ms
|
|
|
+ host: redis-b6d80cf4-3df9-43c8-8182-bfe3ace0098b.cn-southwest-2.dcs.myhuaweicloud.com
|
|
|
+ port: 6379
|
|
|
+ # 数据库索引
|
|
|
+ database: 0
|
|
|
+ # 密码
|
|
|
+ password:
|
|
|
+ # 连接超时时间
|
|
|
+ timeout: 10s
|
|
|
+ lettuce:
|
|
|
+ pool:
|
|
|
+ # 连接池中的最小空闲连接
|
|
|
+ min-idle: 0
|
|
|
+ # 连接池中的最大空闲连接
|
|
|
+ max-idle: 8
|
|
|
+ # 连接池的最大数据库连接数
|
|
|
+ max-active: 100
|
|
|
+ # #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
+ max-wait: -1ms
|
|
|
datasource:
|
|
|
# clickhouse:
|
|
|
# type: com.alibaba.druid.pool.DruidDataSource
|
|
|
@@ -39,8 +39,8 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://192.168.0.229:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
- username: czwh
|
|
|
+ url: jdbc:mysql://rm-bp1jo9h8iua0h68c9ko.mysql.rds.aliyuncs.com:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ username: root
|
|
|
password: Ylrz_1q2w3e4r5t6y
|
|
|
# 从库数据源
|
|
|
slave:
|
|
|
@@ -94,8 +94,8 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://192.168.0.229:3306/fs_his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
- username: czwh
|
|
|
+ url: jdbc:mysql://rm-bp1jo9h8iua0h68c9ko.mysql.rds.aliyuncs.com:3306/fs_his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ username: root
|
|
|
password: Ylrz_1q2w3e4r5t6y
|
|
|
# 初始连接数
|
|
|
initialSize: 5
|
|
|
@@ -137,15 +137,14 @@ spring:
|
|
|
config:
|
|
|
multi-statement-allow: true
|
|
|
rocketmq:
|
|
|
- name-server: 192.168.0.124:8100
|
|
|
+ name-server: rmq-cn-lf64hrnmr03-vpc.cn-hangzhou.rmq.aliyuncs.com:8080
|
|
|
producer:
|
|
|
group: my-producer-group
|
|
|
- access-key: default # 替换为实际的 accessKey
|
|
|
+ access-key: A9P64BET8kV2F3S0 # 替换为实际的 accessKey
|
|
|
secret-key: O1VnW98G8Rmn0PoZ # 替换为实际的 secretKey
|
|
|
consumer:
|
|
|
- topic: course-finish-notes
|
|
|
- group: course-finish-group
|
|
|
- access-key: default # 替换为实际的 accessKey
|
|
|
+ group: common-group
|
|
|
+ access-key: A9P64BET8kV2F3S0 # 替换为实际的 accessKey
|
|
|
secret-key: O1VnW98G8Rmn0PoZ # 替换为实际的 secretKey
|
|
|
openIM:
|
|
|
secret: openIM123
|