docs: 移动蓝绿部署指南到 troubleshooting 目录

This commit is contained in:
Simon
2026-07-05 17:03:36 +08:00
parent ab90db3d3d
commit ca7c6d937a
91 changed files with 4841 additions and 406 deletions
+1 -3
View File
@@ -111,9 +111,7 @@ services:
condition: service_healthy
command: >
/bin/sh -c "
echo '>>> 执行数据库迁移...' &&
cd /app && PYTHONPATH=/app alembic upgrade head &&
echo '>>> 启动 API 服务...' &&
echo '>>> 启动 API 服务 (跳过迁移)...' &&
uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 2
"
networks: