docs: update Caddy setup documentation and clarify network warnings

- Corrected the container port for health check from 3010 to 3000 in Caddy setup instructions.
- Added a section addressing a harmless network warning during deployment, including an optional fix script for user convenience.
- Enhanced clarity and usability of the documentation for better user experience.
This commit is contained in:
Hördle Bot
2025-12-01 16:48:04 +01:00
parent 09b998ea75
commit 5613e5d48e
5 changed files with 473 additions and 305 deletions

View File

@@ -210,8 +210,26 @@ openssl s_client -connect xn--hrdle-jua.de:443 -servername xn--hrdle-jua.de < /d
2. Prüfe, ob hoerdle-Container läuft: `docker ps | grep hoerdle`
3. Teste Verbindung von Caddy zu Hördle:
```bash
docker exec hoerdle-caddy wget -O- http://hoerdle:3010/api/health
docker exec hoerdle-caddy wget -O- http://hoerdle:3000/api/health
```
**Hinweis**: Der Container-Port ist 3000 (nicht 3010, das ist nur der Host-Port).
### Netzwerk-Warnung beim Deployment
**Problem**: Warnung `network hoerdle_default was found but has incorrect label`
**Erklärung**: Diese Warnung ist **harmlos** und kann ignoriert werden. Docker Compose funktioniert trotzdem einwandfrei. Sie entsteht, wenn das Netzwerk bereits existiert, aber nicht von Docker Compose erstellt wurde.
**Optional: Warnung beheben** (nur wenn sie stört):
```bash
# Reparatur-Skript ausführen (stoppt Container kurz)
./scripts/fix-network.sh
# Danach Container neu starten
docker compose up -d
```
**Hinweis**: Das Reparatur-Skript stoppt alle Container kurz, die das Netzwerk nutzen. In Produktion sollte dies außerhalb der Hauptnutzungszeit erfolgen.
## Deployment-Workflow