Files
da-HomeNetDocumentation/PI5/Konfiguration/docker/nginx.md
T
2026-06-19 23:18:04 +02:00

38 lines
983 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Nginx Static Webserver
**Zusammenfassung**: Ein minimalistischer Nginx-Container für statische Webseiten. Läuft mit `nginx:alpine` und wird über Traefik angesteuert.
**Quellen**: `raw/Systemdaten Raspberry PI5.md`
**Zuletzt aktualisiert**: 2026-06-17
---
## Container
| Feld | Wert |
|---|---|
| **Image** | `nginx:alpine` |
| **Container-Name** | `nginx_pi5` |
| **Restart** | `unless-stopped` |
## Netzwerk
- `traefik` Zugriff über Reverse Proxy
## Volumes
| Host | Container | Zweck |
|---|---|---|
| `./html` | `/usr/share/nginx/html:ro` | Statische HTML-Dateien |
| `./config` | `/etc/nginx/conf.d:ro` | Nginx-Konfiguration |
| `./logs` | `/var/log/nginx` | Log-Dateien |
## Besonderheiten
- Keine direkten Port-Mappings die Kommunikation läuft **ausschließlich über das Traefik-Netzwerk**.
- Port 80 wird nur intern im Docker-Netzwerk bereitgestellt.
## Verwandte Seiten
- [traefik](./traefik.md)
- [docker-services](../docker-services.md)