Files
hpc/internal/config/config.example.yaml
dailz 328691adff feat(config): add WorkDirBase for application job working directory
Add WorkDirBase config field for auto-generated job working directories. Pattern: {base}/{app_name}/{timestamp}_{random}/

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

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-13 17:11:48 +08:00

18 lines
807 B
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