-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
Joshua Phu Kuhrau edited this page Jun 2, 2026
·
1 revision
# Produktions-Compose verwenden
docker compose -f docker-compose.prod.yml up -d
# Migrationen ausführen
docker compose -f docker-compose.prod.yml exec backend alembic upgrade headDie nginx/-Konfiguration übernimmt:
- SSL-Terminierung
- Routing an Backend
- Static File Serving
server {
listen 443 ssl;
server_name workmate.example.com;
location /api/ {
proxy_pass http://backend:8000;
}
}| Komponente | Minimum | Empfohlen |
|---|---|---|
| CPU | 2 Cores | 4 Cores |
| RAM | 2 GB | 4 GB |
| Storage | 20 GB | 50 GB+ |
| OS | Ubuntu 22.04 | Ubuntu 24.04 |
# Datenbank sichern
docker compose exec postgres pg_dump -U workmate workmate_private > backup.sql
# Dateien sichern
tar -czf files_backup.tar.gz data/files/git pull
docker compose pull
docker compose up -d
docker compose exec backend alembic upgrade head← API Reference | → Contributing