Files
community/community-api/src/main/resources/application.yml
T
2026-10-14 14:46:17 +08:00

47 lines
939 B
YAML

server:
port: ${SERVER_PORT:${PORT:8993}}
spring:
application:
name: community-api
profiles:
default: test
sql:
init:
mode: never
servlet:
multipart:
max-file-size: 10MB
max-request-size: 52MB
jackson:
time-zone: UTC
main:
banner-mode: off
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
community:
types:
GENERAL: 通用
HUMANOID: 人形
QUADRUPED: 四足
WHEELED: 轮式
captcha-ttl: 2m
token-ttl: 24h
max-text-bytes: 1048576
max-file-bytes: 10485760
max-request-bytes: 52428800
gitea:
connect-timeout: 5s
request-timeout: 30s
springdoc:
swagger-ui:
path: /swagger-ui.html
logging:
file:
path: ${LOG_PATH:logs}
level:
root: INFO
# 测试环境开启项目 DEBUG 时,仍不输出 SQL 参数或完整请求内容。
com.linkerbot.community.service.mapper: INFO
org.springframework.web: INFO