58 lines
1.1 KiB
YAML
58 lines
1.1 KiB
YAML
server:
|
|
port: 9200
|
|
|
|
spring:
|
|
application:
|
|
name: orion-ops-server
|
|
profiles:
|
|
active: dev
|
|
main:
|
|
# 允许循环依赖
|
|
allow-circular-references: true
|
|
# Servlet 配置
|
|
servlet:
|
|
# 文件上传相关配置项
|
|
multipart:
|
|
# 单个文件大小
|
|
max-file-size: 16MB
|
|
# 设置总上传的文件大小
|
|
max-request-size: 32MB
|
|
mvc:
|
|
pathmatch:
|
|
matching-strategy: ANT_PATH_MATCHER
|
|
|
|
springdoc:
|
|
api-docs:
|
|
enabled: true
|
|
path: /v3/api-docs
|
|
swagger-ui:
|
|
enabled: true
|
|
path: /swagger-ui
|
|
tags-sorter: alpha
|
|
operations-sorter: alpha
|
|
show-extensions: true
|
|
|
|
knife4j:
|
|
enable: true
|
|
setting:
|
|
language: zh_cn
|
|
|
|
orion:
|
|
# 版本
|
|
version: @revision@
|
|
# api 信息
|
|
api:
|
|
# 公共api前缀
|
|
prefix: /orion-api
|
|
# 是否开启跨域
|
|
cors: true
|
|
# 文档配置
|
|
swagger:
|
|
title: orion-ops-pro 运维平台
|
|
description: 一站式提供运维功能
|
|
version: ${orion.version}
|
|
url: https://github.com/lijiahangmax/orion-ops-pro
|
|
email: ljh1553488six@139.com
|
|
license: Apache-2.0
|
|
license-url: https://github.com/lijiahangmax/orion-ops-pro/blob/main/LICENSE
|