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>
29 lines
1.4 KiB
YAML
29 lines
1.4 KiB
YAML
server_port: "8080"
|
|
slurm_api_url: "http://localhost:6820"
|
|
slurm_user_name: "root"
|
|
slurm_jwt_key_path: "/etc/slurm/jwt_hs256.key"
|
|
mysql_dsn: "root:@tcp(127.0.0.1:3306)/hpc_platform?parseTime=true"
|
|
work_dir_base: "/mnt/nfs_mount/platform" # 作业工作目录根路径,留空则不自动创建
|
|
|
|
log:
|
|
level: "info" # debug, info, warn, error
|
|
encoding: "json" # json, console
|
|
output_stdout: true # 是否输出日志到终端
|
|
file_path: "" # 日志文件路径,留空则不写文件
|
|
max_size: 100 # max MB per log file
|
|
max_backups: 5 # number of old log files to retain
|
|
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)
|