docs: add GitLab CI/CD deployment guide

Add comprehensive deployment documentation for bare-metal deployment
using GitLab CI/CD to DigitalOcean, including:
- Server setup with deploy user
- PostgreSQL database configuration
- systemd service and Nginx reverse proxy
- HTTPS with Let's Encrypt
- Complete CI/CD pipeline with test, build, and deploy stages
- Environment variables and security recommendations
- Troubleshooting guide

Also remove .env from git tracking (was accidentally committed before
being added to .gitignore).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-28 19:23:15 +01:00
parent 23a5ccbcff
commit c1bfe07c43
3 changed files with 401 additions and 104 deletions

View File

@@ -178,6 +178,7 @@ nav:
- Overview: deployment/index.md
- Docker: deployment/docker.md
- Production: deployment/production.md
- GitLab CI/CD: deployment/gitlab.md
- Environment Variables: deployment/environment.md
- Stripe Integration: deployment/stripe-integration.md