--- #################### db configuration ####################
|
spring:
|
autoconfigure:
|
exclude:
|
- com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
- de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration
|
boot:
|
admin:
|
client:
|
instance:
|
service-host-type: IP
|
datasource:
|
druid:
|
web-stat-filter:
|
enabled: true
|
stat-view-servlet:
|
enabled: true
|
allow:
|
url-pattern: /druid/*
|
login-username:
|
login-password:
|
filter:
|
stat:
|
enabled: true
|
log-slow-sql: true
|
slow-sql-millis: 100
|
merge-sql: true
|
wall:
|
config:
|
multi-statement-allow: true
|
dynamic:
|
druid:
|
initial-size: 1
|
min-idle: 1
|
max-active: 20
|
max-wait: 600000
|
time-between-eviction-runs-millis: 60000
|
min-evictable-idle-time-millis: 300000
|
max-evictable-idle-time-millis: 900000
|
validation-query: SELECT 1 FROM DUAL
|
test-while-idle: true
|
test-on-borrow: false
|
test-on-return: false
|
primary: master
|
datasource:
|
master:
|
url: jdbc:mysql://172.16.8.100:3306/iailab_expert_master?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
username: root
|
password: 123456
|
redis:
|
host: 172.16.8.100
|
port: 6379
|
database: 0
|
password: 123456
|
|
xxl:
|
job:
|
enabled: true
|
admin:
|
addresses: http://172.16.8.100:9090/xxl-job-admin
|
|
lock4j:
|
acquire-timeout: 3000
|
expire: 30000
|
|
management:
|
endpoints:
|
web:
|
base-path: /actuator
|
exposure:
|
include: '*'
|
|
logging:
|
level:
|
com.iailab.module.system.dal.mysql: debug
|
com.iailab.module.system.dal.mysql.sensitiveword.SensitiveWordMapper: INFO
|
com.iailab.module.system.dal.mysql.sms.SmsChannelMapper: INFO
|
iailab:
|
env:
|
tag: ${HOSTNAME}
|
captcha:
|
enable: false
|
security:
|
mock-enable: true
|
xss:
|
enable: false
|
exclude-urls:
|
- ${spring.boot.admin.context-path}/**
|
- ${management.endpoints.web.base-path}/**
|
access-log:
|
enable: false
|
demo: false
|
influx-db:
|
org: iailab
|
token: _338h4Kbu2KQaes5QwAyOz9pTUueXoSF9XmPi8N9oTS1SrhTZVj4J9JfSraUyWA0PfWMZOlf9QWax-USkJQR_A==
|
url: http://172.16.1.221:8086
|
username: iailab
|
password: iailab2019
|
iems:
|
upload-dir: D:/DLUT/upload/
|
mpk:
|
bak-file-path: D:\DLUT\mpkBakFile
|
bak-resources: D:\DLUT\mpkResources
|
model-file-path: D:\DLUT\MDK\Model\miail\
|
`mablab:
|
bak-file-path: D:\DLUT\matlabBakFile`
|