44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
|
|
server:
|
|||
|
|
port: 8090
|
|||
|
|
|
|||
|
|
spring:
|
|||
|
|
#应用名称
|
|||
|
|
application:
|
|||
|
|
name: Project-plateform
|
|||
|
|
datasource:
|
|||
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|||
|
|
druid:
|
|||
|
|
master:
|
|||
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|||
|
|
url: jdbc:mysql://43.138.168.68:3306/framework2023?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
|
|||
|
|
username: root
|
|||
|
|
password: zhengg7QkXa<gRqqQ2023
|
|||
|
|
|
|||
|
|
mvc:
|
|||
|
|
pathmatch:
|
|||
|
|
matching-strategy: ant_path_matcher
|
|||
|
|
servlet:
|
|||
|
|
multipart:
|
|||
|
|
max-file-size: 30MB
|
|||
|
|
max-request-size: 100MB
|
|||
|
|
|
|||
|
|
logging:
|
|||
|
|
file:
|
|||
|
|
name: logs/projectname.log
|
|||
|
|
|
|||
|
|
level:
|
|||
|
|
com.genersoft.iot: debug
|
|||
|
|
com.genersoft.iot.vmp.storager.dao: info
|
|||
|
|
com.genersoft.iot.vmp.gb28181: info
|
|||
|
|
|
|||
|
|
# 在线文档: swagger-ui(生产环境建议关闭)
|
|||
|
|
swagger-ui:
|
|||
|
|
enabled: false
|
|||
|
|
|
|||
|
|
file-space: #项目文档空间
|
|||
|
|
files: D:\demoproject\files\ #单独上传的文件附件
|
|||
|
|
3dmodel: D:\demoproject\3dmodel\ #单独上传的文件附件
|
|||
|
|
useravatar: D:\demoproject\useravatar\ #用户头像
|
|||
|
|
system: D:\demoproject\system\ #系统文档根目录,用于头像等静态资源
|
|||
|
|
|