You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
1 year ago
|
server:
|
||
|
port: 9800
|
||
|
servlet:
|
||
|
context-path: /intro-robot
|
||
|
undertow:
|
||
|
max-http-post-size: -1
|
||
|
buffer-size: 512
|
||
|
direct-buffers: true
|
||
|
spring:
|
||
|
profiles:
|
||
|
active: dev
|
||
|
application:
|
||
|
name: intro-robot
|
||
|
servlet:
|
||
|
multipart:
|
||
|
max-file-size: 100MB
|
||
|
max-request-size: 100MB
|
||
|
datasource:
|
||
|
type: com.alibaba.druid.pool.DruidDataSource
|
||
|
druid:
|
||
|
driver-class-name: org.postgresql.Driver
|
||
|
url: jdbc:postgresql://192.168.10.137:5432/postgres?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8
|
||
|
username: postgres
|
||
|
password: '123456'
|
||
|
initial-size: 5
|
||
|
min-idle: 10
|
||
|
max-active: 20
|
||
|
max-wait: 60000
|
||
|
min-evictable-idle-time-millis: 300000
|
||
|
time-between-eviction-runs-millis: 60000
|
||
|
filters: stat,wall
|
||
|
validation-query: SELECT 1
|
||
|
test-on-borrow: true
|
||
|
test-on-return: true
|
||
|
test-while-idle: true
|
||
|
stat-view-servlet:
|
||
|
enabled: false
|
||
|
filter:
|
||
|
stat:
|
||
|
enabled: true
|
||
|
log-slow-sql: true
|
||
|
slow-sql-millis: 5000
|
||
|
merge-sql: false
|