1.8 KiB
1.8 KiB
Deployment-Dokumentation
Diese Dokumentation beschreibt alle Aspekte des Deployments für E-Mail-Sorter.
📚 Inhaltsverzeichnis
Automatisches Deployment
- Gitea Webhook Setup - Vollständige Anleitung für automatisches Deployment via Gitea Webhook
- Webhook Quick Start - Schnellstart-Anleitung (5 Minuten)
- Webhook Authorization - Authentifizierung und Sicherheit
Manuelles Deployment
- Deployment Instructions - Manuelle Deployment-Schritte
- Production Setup - Production-Server Setup
- Production Fixes - Bekannte Probleme und Lösungen
🚀 Schnellstart
Für automatisches Deployment siehe Webhook Quick Start.
📋 Übersicht
Automatisches Deployment (Empfohlen)
- Gitea Webhook einrichten → Siehe GITEA_WEBHOOK_SETUP.md
- Bei jedem Push wird automatisch deployed
- Keine manuellen Schritte nötig
Manuelles Deployment
- Frontend bauen:
cd client && npm run build - Dateien hochladen auf Server
- Backend neustarten (falls nötig)
Siehe DEPLOYMENT_INSTRUCTIONS.md für Details.
🔧 Konfiguration
Alle Deployment-Konfigurationen finden sich in server/.env:
# Webhook-Konfiguration
GITEA_WEBHOOK_SECRET=...
GITEA_WEBHOOK_AUTH_TOKEN=...
# Server-Deployment
DEPLOY_SERVER_HOST=91.99.156.85
DEPLOY_SERVER_USER=root
DEPLOY_SERVER_PATH=/var/www/emailsorter
USE_PM2=true
📞 Support
Bei Problemen:
- Prüfe die Server-Logs
- Siehe Production Fixes
- Prüfe Webhook Delivery Logs in Gitea