|
|
@@ -4,12 +4,11 @@ spring:
|
|
|
include: config-druid-bjczwh,common
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
- host: r-bp1ylqods7sqn8gs4b.redis.rds.aliyuncs.com
|
|
|
- port: 6379
|
|
|
+ host: redis-b6d80cf4-3df9-43c8-8182-bfe3ace0098b.cn-southwest-2.dcs.myhuaweicloud.com
|
|
|
# 数据库索引
|
|
|
database: 0
|
|
|
# 密码
|
|
|
- password: Ylrz_1q2w3e4r5t6y
|
|
|
+ password:
|
|
|
# 连接超时时间
|
|
|
timeout: 10s
|
|
|
lettuce:
|
|
|
@@ -39,8 +38,8 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- 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
|
|
|
+ url: jdbc:mysql://192.168.0.229:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ username: czwh
|
|
|
password: Ylrz_1q2w3e4r5t6y
|
|
|
# 从库数据源
|
|
|
slave:
|
|
|
@@ -94,8 +93,8 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- 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
|
|
|
+ url: jdbc:mysql://192.168.0.229:3306/fs_his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ username: czwh
|
|
|
password: Ylrz_1q2w3e4r5t6y
|
|
|
# 初始连接数
|
|
|
initialSize: 5
|
|
|
@@ -137,14 +136,15 @@ spring:
|
|
|
config:
|
|
|
multi-statement-allow: true
|
|
|
rocketmq:
|
|
|
- name-server: rmq-cn-lf64hrnmr03-vpc.cn-hangzhou.rmq.aliyuncs.com:8080
|
|
|
+ name-server: 192.168.0.124:8100
|
|
|
producer:
|
|
|
group: my-producer-group
|
|
|
- access-key: A9P64BET8kV2F3S0 # 替换为实际的 accessKey
|
|
|
+ access-key: default # 替换为实际的 accessKey
|
|
|
secret-key: O1VnW98G8Rmn0PoZ # 替换为实际的 secretKey
|
|
|
consumer:
|
|
|
- group: common-group
|
|
|
- access-key: A9P64BET8kV2F3S0 # 替换为实际的 accessKey
|
|
|
+ topic: course-finish-notes
|
|
|
+ group: course-finish-group
|
|
|
+ access-key: default # 替换为实际的 accessKey
|
|
|
secret-key: O1VnW98G8Rmn0PoZ # 替换为实际的 secretKey
|
|
|
openIM:
|
|
|
secret: openIM123
|