You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
# 开发环境配置
|
|
server:
|
|
# 服务器的HTTP端口,默认为80
|
|
port: 8080
|
|
servlet:
|
|
# 应用的访问路径
|
|
context-path: /
|
|
tomcat:
|
|
# tomcat的URI编码
|
|
uri-encoding: UTF-8
|
|
# tomcat最大线程数,默认为200
|
|
max-threads: 80
|
|
# Tomcat启动初始化的线程数,默认值25
|
|
min-spare-threads: 30
|
|
|
|
# 日志配置
|
|
logging:
|
|
level:
|
|
com.visual.face.search: info
|
|
org.springframework: warn
|
|
|
|
# 模型配置
|
|
visual:
|
|
model:
|
|
plateDetection:
|
|
name: ${VISUAL_MODEL_PLATE_DETECTION_NAME:TorchPlateDetection}
|
|
modelPath: ${VISUAL_MODEL_PLATE_DETECTION_PATH:}
|
|
thread: ${VISUAL_MODEL_PLATE_DETECTION_THREAD:4}
|
|
plateRecognition:
|
|
name: ${VISUAL_MODEL_PLATE_RECOGNITION_NAME:TorchPlateRecognition}
|
|
modelPath: ${VISUAL_MODEL_PLATE_RECOGNITION_PATH:}
|
|
thread: ${VISUAL_MODEL_PLATE_RECOGNITION_THREAD:4}
|
|
swagger:
|
|
enable: ${VISUAL_SWAGGER_ENABLE:true}
|
|
|
|
# Spring配置
|
|
spring:
|
|
jackson:
|
|
time-zone: GMT+8
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
# 文件上传
|
|
servlet:
|
|
multipart:
|
|
# 单个文件大小
|
|
max-file-size: 10MB
|
|
# 设置总上传的文件大小
|
|
max-request-size: 20MB
|