Files
workspace/code/fms/fms-api/target/classes/application.yaml
T
2026-08-02 22:05:44 +08:00

34 lines
704 B
YAML

server:
port: 8088
servlet:
context-path: /api
spring:
application:
name: fms-api
fms:
auth:
jwt-secret: "${FMS_JWT_SECRET:fms-api-development-jwt-secret-change-me}"
jwt-expiration: 24h
database:
config-dir: ./config/dbconfigs
pool:
initial-size: 0
min-idle: 0
max-active: 10
max-wait: 5000
validation-query: SELECT 1
test-while-idle: true
test-on-borrow: true
test-on-return: false
time-between-eviction-runs: 30s
min-evictable-idle-time: 30s
file:
storage-type: local
local:
storage-dir: ./data/files
url-prefix: /api/file/static
oss:
g3oss-url: http://g3oss.g3soft.cn:8082