application-test.yml 1.31 KB
server:
  port: 9099
  tomcat:
    max-swallow-size: -1
  error:
    include-exception: true
    include-stacktrace: ALWAYS
    include-message: ON_PARAM
  servlet:
    context-path: /cmc
  compression:
    enabled: true
    min-response-size: 2048
    mime-types: text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml

management: 
  endpoints:
    web:
      exposure:
        include: health,info,metrics
  endpoint:
    health:
      show-details: when_authorized
      show-components: when_authorized

spring:
  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 100MB
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: Asia/Shanghai
  aop:
    proxy-target-class: true
  freemarker:
    cache: false
    prefer-file-system-access: false
    template-loader-path:
    - classpath:/templates
  redis:
    host: 172.16.29.98
    port: 6379
    password: 123456
    timeout: 5000ms
    lettuce:
      pool:
        min-idle: 10
        max-idle: 20
        max-active: 100
        max-wait: 2000ms
        time-between-eviction-runs: 60s
      shutdown-timeout: 100ms

springdoc:
  api-docs:
    path: /v3/api-docs
  swagger-ui:
    path: /swagger-ui.html
    enabled: true

logging:
  level:
    com.huaheng: DEBUG
    org.springframework.web: WARN