server:
|
tomcat:
|
uri-encoding: UTF-8
|
max-connections: 5000
|
max-http-form-post-size: 100MB
|
threads:
|
max: 2000
|
servlet:
|
context-path: /
|
|
spring:
|
# redis
|
redis:
|
database: 0
|
host: 192.168.11.203
|
port: 6379
|
password: rediS_5L#F4_Server
|
timeout: 10000
|
lettuce:
|
pool:
|
max-active: 1000
|
max-wait: -1
|
max-idle: 10
|
min-idle: 5
|
# session
|
session:
|
timeout: PT20M
|
# servlet
|
servlet:
|
multipart:
|
enabled: true
|
max-file-size: 204800MB
|
max-request-size: 1048576MB
|
# jackson
|
jackson:
|
time-zone: GMT+8
|
date-format: yyyy-MM-dd HH:mm:ss
|
locale: zh_CN
|
# datasource
|
datasource:
|
type: com.alibaba.druid.pool.DruidDataSource
|
url: jdbc:postgresql://192.168.11.203:5432/jhs?useAffectedRows=true
|
username: postgres
|
password: Postgres!_17_jHs
|
driver-class-name: org.postgresql.Driver
|
platform: POSTGRESQL
|
filters: stat,wall,log4j
|
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
logAbandoned: true
|
# druid
|
druid:
|
initial-size: 5
|
min-idle: 5
|
max-active: 100
|
max-wait: 60000
|
time-between-eviction-runs-millis: 60000
|
min-evictable-idle-time-millis: 300000
|
max-pool-prepared-statement-per-connection-size: 50
|
pool-prepared-statements: true
|
validation-query: SELECT 1
|
test-while-idle: true
|
test-on-borrow: false
|
test-on-return: false
|
filters: stat,wall
|
stat-view-servlet:
|
enabled: false
|
|
mybatis-plus:
|
config-location: classpath:mybatis.xml
|
|
logging:
|
config: classpath:logback.xml
|
|
remote:
|
maxTotalConnect: 0
|
maxConnectPerRoute: 1000
|
connectTimeout: 30000
|
readTimeout: -1
|
|
sys:
|
swaggerEnable: true
|