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 "==> 启动完成"