application-dev.yml 1.13 KB
server:
  port: 9099
  tomcat:
    max-swallow-size: -1
  error: 
    include-exception: true
    include-stacktrace: ALWAYS
    include-message: ALWAYS
  servlet:
    context-path: /cmc
  compression:
    enabled: true
    min-response-size: 1024
    mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
    
spring:
  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 100MB
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
  aop:
    proxy-target-class: true
  freemarker:
    cache: false
    prefer-file-system-access: false
    template-loader-path:
    - classpath:/templates
  redis:
    host: 127.0.0.1
    port: 6379
    timeout: 5000ms
    lettuce:
      pool:
        min-idle: 10
        max-idle: 10
        max-active: 50
        max-wait: 10s
        time-between-eviction-runs: 30s
      shutdown-timeout: 100ms

# SpringDoc 配置(简化版本)
springdoc:
  api-docs:
    path: /v3/api-docs
  swagger-ui:
    path: /swagger-ui.html
    enabled: true
      
logging:
  level:
    org.jeecg.common: INFO
    org.jeecg.utils: ERROR