start_all 8001

This commit is contained in:
朱潮 2025-10-22 19:22:36 +08:00
parent 3591d8228e
commit d54bfb9a52

View File

@ -15,7 +15,7 @@ sleep 1
echo "Starting FastAPI application with uvicorn..." echo "Starting FastAPI application with uvicorn..."
# 在后台启动FastAPI应用 # 在后台启动FastAPI应用
uvicorn fastapi_app:app --host 0.0.0.0 --port 8000 & uvicorn fastapi_app:app --host 0.0.0.0 --port 8001 &
echo "Starting queue consumer..." echo "Starting queue consumer..."
# 在后台启动队列消费者 # 在后台启动队列消费者
@ -76,4 +76,4 @@ while true; do
# 每5秒检查一次 # 每5秒检查一次
sleep 5 sleep 5
done done