Update project configuration and structure with Docker support and environment variable adjustments

- Updated .env.example to reflect new LLM configuration with Aliyun's API.
- Enhanced .gitignore to include additional files and directories for better exclusion of sensitive and build artifacts.
- Added docker-compose.yml for streamlined deployment of backend and frontend services.
- Introduced Dockerfiles for both backend and frontend to facilitate containerized builds.
- Created README.md to provide comprehensive project documentation and setup instructions.
- Established nginx configuration for frontend to support API proxying and static file serving.
This commit is contained in:
666ghj
2025-12-17 18:17:40 +08:00
parent e2b1a1554d
commit e432e223df
10 changed files with 517 additions and 36 deletions

55
.gitignore vendored
View File

@@ -1,24 +1,50 @@
# OS
.DS_Store
Thumbs.db
# 环境变量(保护敏感信息)
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.*.local
.env.development
.env.test
.env.production
.env.local
.env.development.local
.env.test.local
.env.production.local
__pycache__/
.vscode
.idea
.pytest_cache
.pytest_cache
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.venv/
venv/
ENV/
.eggs/
*.egg-info/
dist/
build/
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# IDE
.vscode/
.idea/
*.swp
*.swo
# 测试
.pytest_cache/
.coverage
htmlcov/
# Cursor
.cursor/
# 文档与测试程序
mydoc/
mytest/
@@ -27,4 +53,7 @@ backend/logs/
*.log
# 上传文件
backend/uploads/
backend/uploads/
# Docker 数据
data/