# Git相关 .git .gitignore .gitattributes # Python相关 __pycache__/ *.py[cod] *$py.class *.so .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # 虚拟环境 venv/ env/ ENV/ env.bak/ venv.bak/ # IDE相关 .vscode/ .idea/ *.swp *.swo *~ # 操作系统相关 .DS_Store .DS_Store? ._* .Spotlight-V100 .Trashes ehthumbs.db Thumbs.db # 日志文件 logs/*.log *.log # 数据库文件(构建时不包含,运行时挂载) *.db *.sqlite *.sqlite3 # 临时文件 *.tmp *.temp temp/ tmp/ # 测试文件 test_*.py *_test.py tests/ # 文档 *.md docs/ # Docker相关(保留必要的构建文件) .dockerignore.bak docker-compose.override.yml # 配置文件(运行时挂载) # global_config.yml # 环境变量文件 .env .env.* !.env.example *.local.yml *.dev.yml *.test.yml config.*.yml !global_config.yml # 前端相关 node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* package-lock.json yarn.lock # 数据目录(运行时挂载) data/ backups/ logs/ realtime.log # 上传文件 static/uploads/* !static/uploads/.gitkeep !static/uploads/images/ static/uploads/images/* !static/uploads/images/.gitkeep # Excel和数据文件 *.xlsx *.xls *.csv keywords_*.xlsx export_*.csv export_*.json export_*.xlsx # 压缩文件 *.zip *.tar.gz *.rar *.7z # 备份文件 *.bak *.backup *.old # 密钥和证书 *.key *.pem *.crt *.cert *.p12 *.pfx ssl/ secrets/ credentials/ # 运行时文件 *.pid *.sock *.lock *.port # 性能分析文件 *.prof *.profile *.pstats # 缓存文件 .cache/ cache/ *.cache # 浏览器相关 .playwright/ playwright-report/ test-results/ # 示例和演示文件 example_*.py *_example.py demo_*.py *_demo.py # AI模型文件 *.model *.weights *.h5 *.pb # 大文件 *.iso *.dmg *.img # 监控和审计 monitoring/ *.access.log *.error.log *.audit.log # 本地开发文件 local/ .local/ debug.log *.debug