br-office-suite/docs/DEPLOYMENT.md
2026-05-10 10:46:05 +02:00

23 lines
533 B
Markdown

# Deployment
## Lokal
1. PostgreSQL 15+ bereitstellen
2. Migrationen aus `database/migrations` anwenden
3. `.env.example` nach `.env` kopieren und Werte setzen
4. Backend:
- `cd backend`
- `npm install`
- `npm run dev`
5. Frontend:
- `cd frontend`
- `npm install`
- `npm run dev`
## Produktion
- Reverse Proxy vor Backend/Frontend
- TLS strikt erzwingen
- PostgreSQL getrennt betreiben
- Upload-Storage getrennt vom App-Container
- ClamAV/clamd als separater Dienst
- DB-Backups, PITR und Restore-Tests einplanen