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.
54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
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
|
|
matchTool:
|
|
url: http://192.168.10.29:8000
|
|
scoreThreshold: 0.4
|
|
paddle-speech:
|
|
# https://github.com/PaddlePaddle/PaddleSpeech/wiki/PaddleSpeech-Server-RESTful-API
|
|
tts: http://192.168.10.137:8090/paddlespeech/tts
|
|
asr: http://192.168.10.137:8090/paddlespeech/asr
|
|
mybatis-plus:
|
|
mapper-locations: classpath*:mapper/**/*.xml
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |