v0.1.0: CRM/ERP 系统内测版本 - 安全加固完成

- Docker bridge 网络隔离(8000 端口封死)
- Gunicorn 4 Worker 多进程
- Alembic 数据库迁移基线
- 日志轮转 20m×3
- JWT 密钥 + DB 密码 + CORS 收紧
- 3-2-1 备份链路(NAS + R740-B 冷备)
- 连接池 pool_pre_ping + pool_recycle=3600
This commit is contained in:
hankin
2026-03-16 07:31:37 +00:00
commit 423baff73b
2578 changed files with 824643 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# FastAPI & Server
fastapi==0.115.6
uvicorn[standard]==0.34.0
gunicorn==22.0.0
python-multipart==0.0.20
# Database (Async SQLAlchemy + asyncpg)
sqlalchemy[asyncio]==2.0.36
asyncpg==0.30.0
greenlet==3.1.1
# Database Migration
alembic==1.14.0
# Auth & Security
python-jose[cryptography]==3.3.0
passlib[bcrypt]==1.7.4
bcrypt==4.2.1
# Validation & Settings
pydantic==2.10.4
pydantic-settings==2.7.1
# Env
python-dotenv==1.0.1
# HTTP Client (Dify API 通信)
httpx==0.28.1
PyMuPDF>=1.24.0
Pillow>=10.0.0
# Excel 导入/导出
openpyxl>=3.1.0