# ================== Workcase 工单服务配置 (Docker) ==================
server:
  port: 8088

spring:
  application:
    name: workcase-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
    - /workcase/chat/kefu/callback
    - /workcase/receive/crm

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

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

jitsi:
  app:
    id: ${JITSI_APP_ID:urbanLifeline}
    secret: ${JITSI_APP_SECRET:urbanLifeline-jitsi-secret-key-2025-production-safe-hs256}
  server:
    url: ${JITSI_SERVER_URL:https://meet.example.com}
  token:
    expiration: 7200000
