update: optimize environment

This commit is contained in:
tao.chen
2026-07-28 11:32:06 +08:00
parent ab731bdc3b
commit af74f2f242
4 changed files with 47 additions and 3 deletions
+3 -1
View File
@@ -1,15 +1,17 @@
# ==================== 环境变量配置 ====================
# 设置默认值(如果命令行没传,就用这里的默认路径)
WORKSPACES_ROOT ?= ./test/workspaces
PUBLIC_BASE_URL ?= http://localhost
PUBLIC_BASE_URL ?= http://192.168.139.3
RUNTIME_HOST ?= 0.0.0.0
RUNTIME_PORT ?= 8001
RUNTIME_BASE_URL ?= http://127.0.0.1:8001
BACKEND_HOST ?= 0.0.0.0
BACKEND_PORT ?= 8000
# 将变量导出给 Makefile 启动的所有子进程
export WORKSPACES_ROOT
export PUBLIC_BASE_URL
export RUNTIME_BASE_URL
.PHONY: runtime backend