From 2051d200ecfcb05f15f059deec74102cf947a3cd Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 12 Apr 2026 20:06:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E8=BF=99=E4=B8=AA?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/start.sh b/start.sh index 5687609..62f451a 100755 --- a/start.sh +++ b/start.sh @@ -18,8 +18,8 @@ else echo "==> 未检测到 .env(AI 模块需要配置 QWEN_API_KEY)" fi -echo "==> 健康检查" -echo "backend: $(curl -s http://localhost:8001/health || echo 'unreachable')" -echo "frontend proxy: $(curl -s http://localhost:5173/health || echo 'unreachable')" +echo "==> 健康检查(端口与 docker-compose.yml 一致:后端 8866,前端 Nginx 8173)" +echo "backend: $(curl -sf http://localhost:8866/health || echo 'unreachable')" +echo "frontend (nginx): $(curl -sf http://localhost:8173/health || echo 'unreachable')" echo "==> 启动完成"