feat: 完成 Docker Compose 配置 (TASK-005)

- 创建 docker-compose.yml 定义三服务架构
- 创建 backend/Dockerfile (Python 3.12)
- 创建 frontend/Dockerfile (Node 20)
- 创建 .dockerignore 文件
- 验证配置语法正确
- 配置 healthcheck 和服务依赖

服务:
- postgres: PostgreSQL 15
- backend: FastAPI + uvicorn
- frontend: Next.js dev server

任务状态:TASK-005 已完成
下一步:TASK-006 后端核心配置

Assisted-by: Kiro AI <kiro@cursor.com>
This commit is contained in:
freedakgmail
2026-07-06 22:16:25 +08:00
parent 3ae54fe530
commit 0bb120ff6b
6 changed files with 153 additions and 9 deletions
+38
View File
@@ -0,0 +1,38 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
venv/
env/
.venv
# 数据库
*.db
*.sqlite
# 环境变量
.env
.env.local
# IDE
.vscode/
.idea/
*.swp
*.swo
# 日志
*.log
logs/
# 上传文件
uploads/
# 测试
.pytest_cache/
.coverage
htmlcov/
# Alembic
migrations/versions/__pycache__/