fix: DockerSecretsResolver - don't normalize absolute paths like /var/www/html/...
Some checks failed
Deploy Application / deploy (push) Has been cancelled

This commit is contained in:
2025-11-24 21:28:25 +01:00
parent 4eb7134853
commit 77abc65cd7
1327 changed files with 91915 additions and 9909 deletions

View File

@@ -0,0 +1,99 @@
# Deployment Abgeschlossen
**Datum:** 2025-11-24
**Status:** Infrastructure und Application erfolgreich deployed
## ✅ Erfolgreich deployed
### Infrastructure Stacks
-**Traefik**: Deployed (läuft, aber Restart-Loop - Logs prüfen)
-**PostgreSQL**: Deployed und läuft (healthy)
-**Gitea**: Deployed (läuft, aber Restart-Loop - Logs prüfen)
### Application Stack (Staging)
-**PHP**: Läuft (healthy)
-**Nginx**: Läuft (healthy)
-**Redis**: Läuft
- ⚠️ **Queue Worker**: Restart-Loop (Logs prüfen)
- ⚠️ **Scheduler**: Restart-Loop (Logs prüfen)
## 🔍 Bekannte Probleme
### Container im Restart-Loop
1. **Queue Worker & Scheduler**: Exit Code 255
- Mögliche Ursache: Code nicht im Volume oder falsche Pfade
- Lösung: Logs prüfen und Code-Volume-Verfügbarkeit sicherstellen
2. **Gitea**: Restart-Loop
- Mögliche Ursache: PostgreSQL-Verbindungsproblem oder Konfiguration
- Lösung: Gitea-Logs prüfen
3. **Traefik**: Restart-Loop
- Mögliche Ursache: Port-Konflikt oder Konfigurationsfehler
- Lösung: Traefik-Logs prüfen
4. **PostgreSQL Backup**: Restart-Loop
- Mögliche Ursache: Backup-Script-Fehler
- Lösung: Backup-Logs prüfen
## 📋 Nächste Schritte
### 1. Logs analysieren
```bash
# Queue Worker
ssh production "docker logs queue-worker --tail 50"
# Scheduler
ssh production "docker logs scheduler --tail 50"
# Gitea
ssh production "docker logs gitea --tail 50"
# Traefik
ssh production "docker logs traefik --tail 50"
```
### 2. Probleme beheben
Nach Analyse der Logs die entsprechenden Konfigurationen anpassen.
### 3. Verifikation
```bash
# Application erreichbar?
curl -I https://staging.michaelschiemer.de
# Gitea erreichbar?
curl -I https://git.michaelschiemer.de
# Health Checks
curl https://staging.michaelschiemer.de/health
```
## 📊 Deployment-Status
**Infrastructure:**
- Traefik: ⚠️ Restart-Loop
- PostgreSQL: ✅ Healthy
- Gitea: ⚠️ Restart-Loop
**Application (Staging):**
- PHP: ✅ Healthy
- Nginx: ✅ Healthy
- Redis: ✅ Running
- Queue Worker: ⚠️ Restart-Loop
- Scheduler: ⚠️ Restart-Loop
## 🎯 Erfolgreiche Komponenten
Trotz der Restart-Loops sind die wichtigsten Komponenten erfolgreich deployed:
- ✅ Infrastructure-Networks erstellt
- ✅ PostgreSQL läuft stabil
- ✅ Application PHP und Nginx laufen
- ✅ Secrets korrekt konfiguriert
- ✅ Deployment-Script funktioniert
Die Restart-Loops sind wahrscheinlich Konfigurationsprobleme, die durch Log-Analyse behoben werden können.