TraceStudio/server/system_config.yaml
2026-01-12 21:51:45 +08:00

48 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 系统配置文件
server:
host: "0.0.0.0" # 监听所有网络接口,支持局域网访问
port: 8000
reload: true # 开发模式自动重载
security:
allowed_ips:
- "*" # 开发环境允许所有IP生产环境应限制
# 文件路径安全检查
block_parent_traversal: true # 阻止 ../ 路径遍历
allowed_extensions:
- ".utrace"
- ".csv"
- ".json"
- ".txt"
- ".png"
- ".jpg"
storage:
# 云存储根目录(相对于项目根目录 TraceStudio/
cloud_root: "./cloud"
# 自定义节点目录(相对于项目根目录 TraceStudio/
custom_nodes_dir: "./cloud/custom_nodes"
# 用户目录结构
user_dirs:
- "data"
- "workflows"
- "results"
- "cache"
unreal:
# Unreal Engine 相关配置
ue_editor_path: "C:/Program Files/Epic Games/UE_5.3/Engine/Binaries/Win64/UnrealEditor.exe"
# Insights 相关
insights_path: "D:\\XGame\\unrealengine\\Engine\\Binaries\\Win64\\UnrealInsights.exe"
logging:
level: "INFO" # DEBUG, INFO, WARNING, ERROR
file: "logs/tracestudio.log"
max_size_mb: 100
backup_count: 5