16 Star 135 Fork 62

飞致云/SQLBot

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
start.sh 477 Bytes
一键复制 编辑 原始数据 按行查看 历史
junjun 提交于 2025-11-10 16:55 +08:00 . build: start shell test
SSR_PATH=/opt/sqlbot/g2-ssr
APP_PATH=/opt/sqlbot/app
PM2_CMD_PATH=$SSR_PATH/node_modules/pm2/bin/pm2
/usr/local/bin/docker-entrypoint.sh postgres &
sleep 5
wait-for-it 127.0.0.1:5432 --timeout=120 --strict -- echo -e "\033[1;32mPostgreSQL started.\033[0m"
nohup $PM2_CMD_PATH start $SSR_PATH/app.js &
#nohup node $SSR_PATH/app.js &
nohup uvicorn main:mcp_app --host 0.0.0.0 --port 8001 &
cd $APP_PATH
uvicorn main:app --host 0.0.0.0 --port 8000 --workers 1 --proxy-headers
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fit2cloud-feizhiyun/SQLBot.git
git@gitee.com:fit2cloud-feizhiyun/SQLBot.git
fit2cloud-feizhiyun
SQLBot
SQLBot
main

搜索帮助