|
@@ -1,19 +1,15 @@
|
|
# 数据源配置
|
|
# 数据源配置
|
|
spring:
|
|
spring:
|
|
- profiles:
|
|
|
|
- include: config-druid-jz,common
|
|
|
|
# redis 配置
|
|
# redis 配置
|
|
redis:
|
|
redis:
|
|
- # 地址
|
|
|
|
- host: 127.0.0.1
|
|
|
|
- # 端口,默认为6379
|
|
|
|
|
|
+ host: 172.27.0.13
|
|
port: 6379
|
|
port: 6379
|
|
# 数据库索引
|
|
# 数据库索引
|
|
database: 0
|
|
database: 0
|
|
# 密码
|
|
# 密码
|
|
- password:
|
|
|
|
|
|
+ password: Sxdtcbm@#+!2025
|
|
# 连接超时时间
|
|
# 连接超时时间
|
|
- timeout: 20s
|
|
|
|
|
|
+ timeout: 10s
|
|
lettuce:
|
|
lettuce:
|
|
pool:
|
|
pool:
|
|
# 连接池中的最小空闲连接
|
|
# 连接池中的最小空闲连接
|
|
@@ -28,7 +24,7 @@ spring:
|
|
# clickhouse:
|
|
# clickhouse:
|
|
# type: com.alibaba.druid.pool.DruidDataSource
|
|
# type: com.alibaba.druid.pool.DruidDataSource
|
|
# driverClassName: com.clickhouse.jdbc.ClickHouseDriver
|
|
# driverClassName: com.clickhouse.jdbc.ClickHouseDriver
|
|
- # url: jdbc:clickhouse://cc-2vc8zzo26w0l7m2l6.public.clickhouse.ads.aliyuncs.com/sop?compress=0&use_server_time_zone=true&use_client_time_zone=false&timezone=Asia/Shanghai
|
|
|
|
|
|
+ # url: jdbc:clickhouse://1.14.104.71:8123/sop_test?compress=0&use_server_time_zone=true&use_client_time_zone=false&timezone=Asia/Shanghai
|
|
# username: rt_2024
|
|
# username: rt_2024
|
|
# password: Yzx_19860213
|
|
# password: Yzx_19860213
|
|
# initialSize: 10
|
|
# initialSize: 10
|
|
@@ -41,9 +37,9 @@ spring:
|
|
druid:
|
|
druid:
|
|
# 主库数据源
|
|
# 主库数据源
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://192.168.0.137:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
+ url: jdbc:mysql://172.27.0.6:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
username: root
|
|
- password: Ylrztek250218!3@.
|
|
|
|
|
|
+ password: Sxdtcbm@#+!2025
|
|
# 从库数据源
|
|
# 从库数据源
|
|
slave:
|
|
slave:
|
|
# 从数据源开关/默认关闭
|
|
# 从数据源开关/默认关闭
|
|
@@ -56,7 +52,7 @@ spring:
|
|
# 最小连接池数量
|
|
# 最小连接池数量
|
|
minIdle: 10
|
|
minIdle: 10
|
|
# 最大连接池数量
|
|
# 最大连接池数量
|
|
- maxActive: 20
|
|
|
|
|
|
+ maxActive: 2000
|
|
# 配置获取连接等待超时的时间
|
|
# 配置获取连接等待超时的时间
|
|
maxWait: 60000
|
|
maxWait: 60000
|
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
@@ -96,15 +92,15 @@ spring:
|
|
druid:
|
|
druid:
|
|
# 主库数据源
|
|
# 主库数据源
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://192.168.0.137:3306/sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
+ url: jdbc:mysql://172.27.0.6:3306/fs_his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
username: root
|
|
- password: Ylrztek250218!3@.
|
|
|
|
|
|
+ password: Sxdtcbm@#+!2025
|
|
# 初始连接数
|
|
# 初始连接数
|
|
initialSize: 5
|
|
initialSize: 5
|
|
# 最小连接池数量
|
|
# 最小连接池数量
|
|
minIdle: 10
|
|
minIdle: 10
|
|
# 最大连接池数量
|
|
# 最大连接池数量
|
|
- maxActive: 20
|
|
|
|
|
|
+ maxActive: 200
|
|
# 配置获取连接等待超时的时间
|
|
# 配置获取连接等待超时的时间
|
|
maxWait: 60000
|
|
maxWait: 60000
|
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
@@ -145,6 +141,6 @@ rocketmq:
|
|
access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
|
|
access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
|
|
secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
|
|
secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
|
|
consumer:
|
|
consumer:
|
|
- group: test-group
|
|
|
|
|
|
+ group: voice-group
|
|
access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
|
|
access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
|
|
secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
|
|
secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
|