- Update Gitea workflow to build dev/staging/main branches
- Create environment-specific docker-compose files
- docker-compose.dev.yml (pulls dev image)
- docker-compose.staging.yml (pulls staging image)
- docker-compose.prod.yml (pulls latest image)
- docker-compose.local.yml (builds locally for development)
- Remove generic docker-compose.yml (replaced by env-specific files)
- Update .dockerignore to exclude docs/ and .gitea/ from production images
- Add comprehensive deployment guide (docs/DOKPLOY_DEPLOYMENT.md)
Image Tags:
- dev branch → :dev
- staging branch → :staging
- main branch → :latest
- All branches → :{branch}-{sha}
Benefits:
- Separate deployments for dev/staging/prod
- Automated CI/CD via Gitea Actions + Dokploy webhooks
- Leaner production images (excludes dev tools/docs)
- Local development support (docker-compose.local.yml)
- Rollback support via SHA-tagged images
60 lines
473 B
Plaintext
60 lines
473 B
Plaintext
# Dependencies
|
|
node_modules
|
|
|
|
# Environment files
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Git
|
|
.git
|
|
.gitignore
|
|
|
|
# Documentation
|
|
*.md
|
|
!README.md
|
|
docs
|
|
|
|
# IDE
|
|
.vscode
|
|
.idea
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Testing
|
|
coverage
|
|
.nyc_output
|
|
|
|
# Temporary files
|
|
tmp
|
|
temp
|
|
*.tmp
|
|
|
|
# Docker
|
|
Dockerfile
|
|
docker-compose*.yml
|
|
.dockerignore
|
|
|
|
# CI/CD
|
|
.github
|
|
.gitlab-ci.yml
|
|
.gitea
|
|
|
|
# Scripts
|
|
scripts
|
|
|
|
# Claude sessions
|
|
.claude
|