spring:
|
cloud:
|
nacos:
|
discovery:
|
server-addr: 172.16.1.148:8848 # 注册中心地址 nacos server
|
config:
|
server-addr: 172.16.1.148:8848 # 配置中心地址 nacos server
|
file-extension: yml # 配置中心的配置后缀
|
datasource:
|
type: com.alibaba.druid.pool.DruidDataSource
|
druid:
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
url: jdbc:mysql://172.16.1.148:3306/iailab_ntt_data?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
username: root
|
password: 123456
|
initial-size: 10
|
max-active: 100
|
min-idle: 10
|
max-wait: 60000
|
pool-prepared-statements: true
|
max-pool-prepared-statement-per-connection-size: 20
|
time-between-eviction-runs-millis: 60000
|
min-evictable-idle-time-millis: 300000
|
#validationQuery是用来验证数据库连接的查询语句,这个查询语句必须是至少返回一条结果的SELECT语句。每种数据库都有各自的验证语句
|
#validation-query: select 1 from sysibm.sysdummy1
|
test-while-idle: true
|
test-on-borrow: false
|
test-on-return: false
|
stat-view-servlet:
|
enabled: true
|
url-pattern: /druid/*
|
#login-username: admin
|
#login-password: admin
|
filter:
|
stat:
|
log-slow-sql: true
|
slow-sql-millis: 1000
|
merge-sql: false
|
wall:
|
config:
|
multi-statement-allow: true
|
redis:
|
host: 172.16.8.100 # 地址
|
port: 6379 # 端口
|
database: 0 # 数据库索引
|
password: 123456 # 密码,建议生产环境开启
|
jedis:
|
pool:
|
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
|
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
max-idle: 10 # 连接池中的最大空闲连接
|
min-idle: 5 # 连接池中的最小空闲连接
|
|
oadp:
|
domain: http://172.16.1.148:6010
|
|
influx-db:
|
org: IAILab
|
bucket: whs_data
|
token: dUoFsmlooCbyHsleY17w-_KpVf7vaFVRz0xBBuH4GZeOygMekoKpVi8kGIw49K_Qp_UDNf3RHpInoUIi4rTsow==
|
url: http://172.16.1.148:8086
|
|
iems:
|
upload-dir: D:/DLUT/znjt/safe/webapp/static/temp/
|