- Dockerfile: 多阶段构建,oven/bun 基础镜像,非 root 用户 - docker-compose.yml: 本地开发环境(API + MySQL + Drizzle Studio) - docker-compose.prod.yml: 服务器部署(prod + test,Docker profiles) - .gitea/workflows/deploy.yml: 双分支 CI/CD(develop→测试, main→生产) - docs/ci-deployment-guide.md: 完整部署指南(Alibaba Cloud Linux 3) - scripts/deploy.sh: 手动部署运维脚本 - .env.prod.example: 生产环境变量模板 - .dockerignore: 排除非构建文件 - .gitignore: 排除 .claude/ 目录
73 lines
543 B
Plaintext
73 lines
543 B
Plaintext
# Dependencies
|
|
node_modules
|
|
npm-debug.log
|
|
yarn-error.log
|
|
bun.lockb
|
|
|
|
# Build output
|
|
dist
|
|
build
|
|
|
|
# Environment
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# IDE
|
|
.vscode
|
|
.idea
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Git
|
|
.git
|
|
.gitignore
|
|
.gitattributes
|
|
|
|
# CI/CD
|
|
.gitea
|
|
.github
|
|
.gitlab-ci.yml
|
|
|
|
# Scripts
|
|
scripts
|
|
|
|
# Docker
|
|
docker-compose*.yml
|
|
Dockerfile
|
|
|
|
# Docs
|
|
docs
|
|
*.md
|
|
!README.md
|
|
|
|
# Tests
|
|
coverage
|
|
.nyc_output
|
|
*.test.ts
|
|
*.test.ts
|
|
*.spec.ts
|
|
__tests__
|
|
|
|
# Tools
|
|
.eslintrc
|
|
.prettierrc
|
|
.editorconfig
|
|
|
|
# Drizzle
|
|
drizzle
|
|
|
|
# Logs
|
|
logs
|
|
*.log
|
|
|
|
# Temporary
|
|
tmp
|
|
temp
|
|
.tmp
|