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.
68 lines
1.8 KiB
YAML
68 lines
1.8 KiB
YAML
env:
|
|
datasource:
|
|
ip: 192.168.10.137:5432
|
|
username: postgres
|
|
password: '123456'
|
|
match:
|
|
ip: 192.168.10.137:9711
|
|
paddle-speech:
|
|
ip: 192.168.10.137:8090
|
|
|
|
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
|
|
ip: 192.168.10.137:5432
|
|
druid:
|
|
driver-class-name: org.postgresql.Driver
|
|
url: jdbc:postgresql://${env.datasource.ip}/postgres?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8
|
|
username: ${env.datasource.username}
|
|
password: ${env.datasource.password}
|
|
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://${env.match.ip}
|
|
scoreThreshold: 0.3
|
|
paddle-speech:
|
|
# https://github.com/PaddlePaddle/PaddleSpeech/wiki/PaddleSpeech-Server-RESTful-API
|
|
tts: http://${env.paddle-speech.ip}/paddlespeech/tts
|
|
asr: http://${env.paddle-speech.ip}/paddlespeech/asr
|
|
mybatis-plus:
|
|
mapper-locations: classpath*:mapper/**/*.xml
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
query:
|
|
rootPath: /data/intro-robot |