imeeting/backend/src/main/resources/application.yml

103 lines
2.1 KiB
YAML
Raw Normal View History

server:
port: ${SERVER_PORT:8080}
logging:
file:
path: ${LOG_PATH:./logs}
spring:
profiles:
active: ${SPRING_PROFILES_ACTIVE:dev}
cache:
type: redis
servlet:
multipart:
max-file-size: 2048MB
max-request-size: 2048MB
jackson:
date-format: yyyy-MM-dd HH:mm:ss
serialization:
write-dates-as-timestamps: false
time-zone: GMT+8
springdoc:
api-docs:
enabled: true
swagger-ui:
path: /swagger-ui.html
tags-sorter: alpha
operations-sorter: alpha
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
global-config:
db-config:
logic-delete-field: isDeleted
logic-delete-value: 1
logic-not-delete-value: 0
2026-03-17 07:31:09 +00:00
unisbase:
web:
auth-endpoints-enabled: true
management-endpoints-enabled: true
tenant:
ignoreTables:
- biz_ai_tasks
- biz_meeting_transcripts
- biz_speakers
- biz_llm_models
- biz_asr_models
- biz_prompt_templates
- biz_client_downloads
- biz_external_apps
2026-03-17 07:31:09 +00:00
security:
enabled: true
mode: embedded
auth-header: Authorization
token-prefix: "Bearer "
permit-all-urls:
- /actuator/health
- /api/auth/**
2026-03-17 07:31:09 +00:00
- /api/static/**
- /api/public/meetings/**
- /v3/api-docs/**
- /swagger-ui.html
- /swagger-ui/**
- /ws/**
2026-03-17 07:31:09 +00:00
internal-auth:
enabled: true
header-name: X-Internal-Secret
app:
resource-prefix: /api/static/
captcha:
ttl-seconds: 120
max-attempts: 5
token:
access-default-minutes: 30
refresh-default-days: 7
imeeting:
realtime:
resume-window-minutes: 30
empty-session-retention-minutes: 720
redis-expire-listener-enabled: true
grpc:
enabled: true
port: 19090
max-inbound-message-size: 4194304
reflection-enabled: true
gateway:
heartbeat-interval-seconds: 15
heartbeat-timeout-seconds: 45
realtime:
session-ttl-seconds: 600
sample-rate: 16000
channels: 1
encoding: PCM16LE
connection-ttl-seconds: 1800
auth:
enabled: false
allow-anonymous: true