AI分析中心服务 add 配置文件
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
|
||||
#spring 数据库等信息配置
|
||||
spring:
|
||||
datasource:
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# url: jdbc:mysql://10.37.124.106:3306/im_chat?serverTimezone=GMT%2B8
|
||||
# username: im_chat
|
||||
# password: volvo@nb@mid@im_chat@12a
|
||||
druid:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# 使用Proxy地址
|
||||
## 华为云地址,实际ip10.37.116.19
|
||||
url: jdbc:mysql://10.37.158.25:3306/ai_drives?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&useSSL=false
|
||||
username: m_ai_drives
|
||||
password: 3RQjOAO5
|
||||
# 初始连接数
|
||||
initialSize: 5
|
||||
# 最小连接池数量
|
||||
minIdle: 10
|
||||
# 最大连接池数量
|
||||
maxActive: 20
|
||||
maxTime: 80000
|
||||
# 配置获取连接等待超时的时间
|
||||
maxWait: 60000
|
||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
||||
timeBetweenEvictionRunsMillis: 60000
|
||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
||||
minEvictableIdleTimeMillis: 300000
|
||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
||||
maxEvictableIdleTimeMillis: 900000
|
||||
# 配置检测连接是否有效
|
||||
validationQuery: SELECT 1 FROM DUAL
|
||||
mysql:
|
||||
usePingMethod: false
|
||||
|
||||
clickhouse-ads-ai:
|
||||
minimum-idle: 1
|
||||
maximum-pool-size: 80
|
||||
pidle-timeout: 10000
|
||||
idle-timeout: 600000
|
||||
connection-timeout: 60000
|
||||
jdbc-url: jdbc:clickhouse://10.37.158.122:8123/ads_bi?serverTimezone=GMT%2B8&socket_timeout=300000&max_query_size=1000000
|
||||
username: ai_xl
|
||||
password: "Xw&-a4Qen;h5bmTz"
|
||||
driver-class-name: ru.yandex.clickhouse.ClickHouseDriver
|
||||
#mybatis 配置
|
||||
mybatis:
|
||||
mapper-locations: classpath:mapper/**/*.xml
|
||||
type-aliases-package: com.volvo.reportbi.mapper
|
||||
configuration:
|
||||
call-setters-on-nulls: true
|
||||
map-underscore-to-camel-case: true
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
|
||||
#开启MyBatis的二级缓存
|
||||
cache-enabled: true
|
||||
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath:mappers/**/*.xml
|
||||
type-aliases-package: com.volvo.reportbi.mapper
|
||||
configuration:
|
||||
call-setters-on-nulls: true
|
||||
Reference in New Issue
Block a user