2026-04-25 16:41:10 +08:00
|
|
|
server:
|
|
|
|
|
port: 8086
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
name: file-service
|
|
|
|
|
threads:
|
|
|
|
|
virtual:
|
|
|
|
|
enabled: true
|
|
|
|
|
datasource:
|
|
|
|
|
url: jdbc:mysql://39.107.53.187:3306/xuqm_file?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
|
|
|
|
|
username: xuqm
|
|
|
|
|
password: Xuqm@2026
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
hikari:
|
|
|
|
|
minimum-idle: 2
|
|
|
|
|
maximum-pool-size: 15
|
|
|
|
|
connection-timeout: 30000
|
|
|
|
|
idle-timeout: 300000
|
|
|
|
|
max-lifetime: 900000
|
|
|
|
|
jpa:
|
|
|
|
|
hibernate:
|
|
|
|
|
ddl-auto: update
|
|
|
|
|
show-sql: false
|
|
|
|
|
properties:
|
|
|
|
|
hibernate:
|
|
|
|
|
dialect: org.hibernate.dialect.MySQLDialect
|
|
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
enabled: true
|
|
|
|
|
max-file-size: 500MB
|
|
|
|
|
max-request-size: 510MB
|
|
|
|
|
jackson:
|
|
|
|
|
time-zone: UTC
|
|
|
|
|
serialization:
|
|
|
|
|
write-dates-as-timestamps: false
|
|
|
|
|
|
|
|
|
|
jwt:
|
|
|
|
|
secret: ${XUQM_JWT_SECRET:xuqm-tenant-service-secret-key-must-be-at-least-256-bits-long-for-hmac}
|
|
|
|
|
expiration: 86400000
|
|
|
|
|
|
|
|
|
|
file:
|
|
|
|
|
upload-dir: ${FILE_UPLOAD_DIR:/tmp/xuqm-file-upload}
|
2026-04-27 19:23:11 +08:00
|
|
|
base-url: ${FILE_BASE_URL:https://file.dev.xuqinmin.com}
|
2026-04-25 16:41:10 +08:00
|
|
|
|
|
|
|
|
logging:
|
|
|
|
|
level:
|
|
|
|
|
com.xuqm: DEBUG
|