- 新增 platform API 端点和存储 - 新增 llama_factory 适配器 - 新增前端 compute、guide、system 等视图页面 - 新增 echarts 插件和 mock 数据 - 更新 Docker 配置、后端配置及文档 - 更新前端路由、API、侧边栏等组件 Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
658 B
Plaintext
22 lines
658 B
Plaintext
COMPUTE_ENV=prod
|
|
COMPUTE_HOST_ID=gpu-node-01
|
|
# Five-digit host ports exposed outside the compute server.
|
|
COMPUTE_API_PORT=19100
|
|
FILE_GATEWAY_PORT=19101
|
|
COMPUTE_API_IMAGE=yg-ft-compute-api:latest
|
|
|
|
# The application server actively polls Compute API; compute server does not need reverse access.
|
|
COMPUTE_SERVICE_TOKEN=change_me
|
|
ENABLE_APP_CALLBACK=false
|
|
|
|
# LLaMA-Factory is provided by the official hiyouga/llamafactory base image.
|
|
LLAMA_FACTORY_HOME=/app/LLaMA-Factory
|
|
|
|
YG_FT_DATA_ROOT=/data/yg-ft
|
|
YG_FT_DATA_ROOT_HOST=/data/yg-ft
|
|
|
|
LOG_DIR=/opt/yg-ft/logs/compute
|
|
CUDA_VISIBLE_DEVICES=all
|
|
NVIDIA_VISIBLE_DEVICES=all
|
|
NVIDIA_DRIVER_CAPABILITIES=compute,utility
|