58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
spring:
|
|
servlet:
|
|
multipart:
|
|
max-file-size: -1
|
|
max-request-size: -1
|
|
redis:
|
|
host: 192.168.1.197
|
|
port: 6379
|
|
database: 0
|
|
password: menhu@123
|
|
timeout: 30s
|
|
datasource:
|
|
druid:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://192.168.1.197:3306/portal?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
username: root
|
|
password: menhu@123
|
|
initial-size: 2
|
|
max-active: 5
|
|
min-idle: 2
|
|
max-wait: 6000
|
|
pool-prepared-statements: true
|
|
max-pool-prepared-statement-per-connection-size: 5
|
|
time-between-eviction-runs-millis: 60000
|
|
min-evictable-idle-time-millis: 300000
|
|
test-while-idle: true
|
|
test-on-borrow: false
|
|
test-on-return: false
|
|
filter:
|
|
stat:
|
|
log-slow-sql: true
|
|
slow-sql-millis: 1000
|
|
merge-sql: false
|
|
wall:
|
|
config:
|
|
multi-statement-allow: true
|
|
rabbitmq:
|
|
host: 192.168.1.197
|
|
port: 5672
|
|
username: admin
|
|
password: menhu@123
|
|
publisher-returns: true
|
|
listener:
|
|
simple:
|
|
acknowledge-mode: manual
|
|
prefetch: 5
|
|
mybatis-plus:
|
|
mapper-locations: classpath:/mapper/**/*.xml
|
|
typeAliasesPackage: com.dkha.entity
|
|
global-config:
|
|
db-config:
|
|
id-type: ID_WORKER
|
|
banner: false
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
cache-enabled: false
|
|
call-setters-on-nulls: true
|
|
jdbc-type-for-null: 'null' |