fix(deploy): .env 显式写 BACKEND_PORT=(空值),backend 不再随机分配宿主机端口

This commit is contained in:
2026-09-26 21:14:19 +08:00
parent f0110df164
commit 3615902e8d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ MOLDINSIGHT_PORT=10003 # moldinsight-only 独立部署(必填)
INVENTORY_PORT=10004 # inventory-only 独立部署(必填)
# unified 模式 backend 是否暴露宿主端口:留空 = 不暴露(仅经前端 /api 反代),
# 设值(如 10005)= 直接暴露(调试 / 压测用,注意 10003 已被 frontend 占用)
# BACKEND_PORT=
BACKEND_PORT=
# ================================
DEBUG=false