feat(config): add MinIO object storage configuration

Add MinioConfig struct with connection, bucket, chunk size, and session TTL settings.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
dailz
2026-04-15 09:22:18 +08:00
parent a65c8762af
commit 44895214d4
3 changed files with 177 additions and 7 deletions

View File

@@ -15,3 +15,14 @@ log:
max_age: 30 # days to retain old log files
compress: true # gzip rotated log files
gorm_level: "warn" # GORM SQL log level: silent, error, warn, info
minio:
endpoint: "http://fnos.dailz.cn:15001" # MinIO server address
access_key: "3dgDu9ncwflLoRQW2OeP" # access key
secret_key: "g2GLBNTPxJ9sdFwh37jtfilRSacEO5yQepMkDrnV" # secret key
bucket: "test" # bucket name
use_ssl: false # use TLS connection
chunk_size: 16777216 # upload chunk size in bytes (default: 16MB)
max_file_size: 53687091200 # max file size in bytes (default: 50GB)
min_chunk_size: 5242880 # minimum chunk size in bytes (default: 5MB)
session_ttl: 48 # session TTL in hours (default: 48)