2026-04-25 16:41:10 +08:00
|
|
|
server:
|
|
|
|
|
port: 8086
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
name: file-service
|
|
|
|
|
threads:
|
|
|
|
|
virtual:
|
|
|
|
|
enabled: true
|
|
|
|
|
datasource:
|
2026-05-19 18:25:50 +08:00
|
|
|
url: ${SPRING_DATASOURCE_URL:jdbc:mysql://39.107.53.187:3306/xuqm_file?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true}
|
|
|
|
|
username: ${SPRING_DATASOURCE_USERNAME:xuqm}
|
|
|
|
|
password: ${SPRING_DATASOURCE_PASSWORD:Xuqm@2026}
|
2026-04-25 16:41:10 +08:00
|
|
|
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:
|
2026-06-12 23:28:12 +08:00
|
|
|
ddl-auto: validate
|
2026-04-25 16:41:10 +08:00
|
|
|
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
|
2026-06-12 23:28:12 +08:00
|
|
|
flyway:
|
|
|
|
|
enabled: true
|
|
|
|
|
baseline-on-migrate: true
|
|
|
|
|
baseline-version: 0
|
2026-06-18 22:44:31 +08:00
|
|
|
validate-on-migrate: false
|
2026-06-12 23:28:12 +08:00
|
|
|
locations: classpath:db/migration
|
2026-06-13 00:05:31 +08:00
|
|
|
table: flyway_history_file
|
2026-04-25 16:41:10 +08:00
|
|
|
|
|
|
|
|
jwt:
|
|
|
|
|
secret: ${XUQM_JWT_SECRET:xuqm-tenant-service-secret-key-must-be-at-least-256-bits-long-for-hmac}
|
2026-05-01 22:22:37 +08:00
|
|
|
expiration: 3153600000000
|
2026-04-25 16:41:10 +08:00
|
|
|
|
|
|
|
|
file:
|
|
|
|
|
upload-dir: ${FILE_UPLOAD_DIR:/tmp/xuqm-file-upload}
|
2026-04-30 11:47:01 +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
|