Files
cadannotation/src/main/resources/application.yml
T
2026-07-08 16:01:51 +08:00

57 lines
1.3 KiB
YAML

spring:
application:
name: cadlabel
profiles:
active: ${SPRING_PROFILES_ACTIVE:dev}
lifecycle:
timeout-per-shutdown-phase: 30s
servlet:
multipart:
max-file-size: ${APP_MULTIPART_MAX_FILE_SIZE:100MB}
max-request-size: ${APP_MULTIPART_MAX_REQUEST_SIZE:100MB}
jackson:
default-property-inclusion: non_null
time-zone: Asia/Shanghai
server:
port: ${SERVER_PORT:8891}
shutdown: graceful
forward-headers-strategy: framework
compression:
enabled: true
min-response-size: 2KB
mybatis-plus:
global-config:
db-config:
logic-delete-field: deleted
logic-delete-value: 1
logic-not-delete-value: 0
configuration:
map-underscore-to-camel-case: true
springdoc:
api-docs:
path: /api-docs
swagger-ui:
path: /swagger-ui.html
app:
cos:
secret-id: ${APP_COS_SECRET_ID:}
secret-key: ${APP_COS_SECRET_KEY:}
bucket: ${APP_COS_BUCKET:}
region: ${APP_COS_REGION:ap-beijing}
public-base-url: ${APP_COS_PUBLIC_BASE_URL:}
upload-session-ttl: ${APP_COS_UPLOAD_SESSION_TTL:PT30M}
upload-prefix: ${APP_COS_UPLOAD_PREFIX:uploads}
max-upload-size-bytes: ${APP_COS_MAX_UPLOAD_SIZE_BYTES:104857600}
logging:
file:
path: ${LOG_PATH:logs}
level:
root: INFO
com.cadlabel: INFO
org.springframework.web: INFO