ops: add production observability and recovery

This commit is contained in:
hailin
2026-07-27 19:06:34 +08:00
parent e69368a2f3
commit b02d18d3b9
33 changed files with 8832 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ requires-python = ">=3.12"
dependencies = [
"Django>=5.0,<5.3",
"django-ninja>=1.3,<2.0",
"gunicorn>=23.0,<24.0",
"psycopg[binary]>=3.2,<4.0",
"celery>=5.4,<6.0",
"redis>=5.0,<6.0",
@@ -17,6 +18,13 @@ dependencies = [
"jsonschema>=4.23,<5.0",
"minio>=7.2,<8.0",
"Pillow>=11.0,<12.0",
"pypdf>=5.0,<7.0",
"python-docx>=1.1,<2.0",
"openpyxl>=3.1,<4.0",
"python-pptx>=1.0,<2.0",
"pgvector>=0.4,<0.5",
"Authlib>=1.6,<2.0",
"requests>=2.32,<3.0",
]
[build-system]
@@ -43,6 +51,7 @@ testpaths = ["apps", "tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["**/migrations/*.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]