# ================== File 文件服务配置 (Docker) ==================
server:
  port: 8084

spring:
  application:
    name: file-service
  servlet:
    multipart:
      enabled: true
      max-file-size: 500MB
      max-request-size: 500MB

auth:
  enabled: true
  gateway-mode: true
  whitelist:
    - /swagger-ui/**
    - /swagger-ui.html
    - /v3/api-docs/**
    - /webjars/**
    - /favicon.ico
    - /error
    - /actuator/health
    - /actuator/info
    - /file/download/**

springdoc:
  group-configs:
    - group: 'default'
      display-name: '文件服务 API'
      paths-to-match: '/**'

dubbo:
  application:
    name: urban-lifeline-file
    qos-enable: false
  protocol:
    payload: 110100480
  scan:
    base-packages: org.xyzh.file.service.impl
