feat: 增加结构化日志和服务就绪检查

This commit is contained in:
2026-07-10 12:14:19 +08:00
parent ebaf3defa2
commit d7d9514348
7 changed files with 184 additions and 4 deletions

View File

@@ -16,4 +16,4 @@ COPY . .
EXPOSE 8100
CMD ["sh", "-c", "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port 8100 --workers ${BACKEND_WORKERS:-1}"]
CMD ["sh", "-c", "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port 8100 --workers ${BACKEND_WORKERS:-1} --no-access-log"]