gmini / run.sh
xidu's picture
refactor: Final attempt with pure python gateway
b5077ac
raw
history blame contribute delete
346 Bytes
#!/bin/bash
# 在后台启动所有子服务
echo "Starting background services..."
uvicorn app_7861:app --host 0.0.0.0 --port 7861 &
uvicorn app_7864:app --host 0.0.0.0 --port 7864 &
# 在前台启动主网关服务,这个进程将保持容器运行
echo "Starting main gateway on port 7860..."
uvicorn gateway:app --host 0.0.0.0 --port 7860