- Add docker-compose.ha.yml for PostgreSQL/Redis HA setup with Patroni and Sentinel - Add docker-compose.prod.yml for production deployment - Add GitHub Actions CI/CD workflow (build.yml) - Add install.cmd for Windows one-click setup - Harden Redis connection with retry logic and health checks - Add Celery HA config with Redis Sentinel support - Add HA operations runbook - Update README with deployment and architecture docs - Move landing page spec to .claude/specs/design/ - Update memory intelligence PRD
48 lines
988 B
TOML
48 lines
988 B
TOML
[project]
|
|
name = "dreamweaver"
|
|
version = "0.1.0"
|
|
description = "AI 驱动的儿童故事生成应用"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"uvicorn[standard]>=0.32.0",
|
|
"sqlalchemy[asyncio]>=2.0.0",
|
|
"asyncpg>=0.30.0",
|
|
"pydantic>=2.0.0",
|
|
"pydantic-settings>=2.0.0",
|
|
"python-jose[cryptography]>=3.3.0",
|
|
"cryptography>=43.0.0",
|
|
"httpx>=0.28.0",
|
|
"alembic>=1.13.0",
|
|
"cachetools>=5.0.0",
|
|
"tenacity>=8.0.0",
|
|
"structlog>=24.0.0",
|
|
"sse-starlette>=2.0.0",
|
|
"celery>=5.4.0",
|
|
"redis>=5.0.0",
|
|
"edge-tts>=6.1.0",
|
|
"openai>=1.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
"pytest-cov>=4.0.0",
|
|
"aiosqlite>=0.20.0",
|
|
"ruff>=0.8.0",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["app*"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|