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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user