stacks:traefik
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| stacks:traefik [28.08.2025 11:42] – angelegt lars | stacks:traefik [28.08.2025 12:07] (aktuell) – lars | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| [[it-themen: | [[it-themen: | ||
| + | |||
| + | ====== Traefik Stack (Docker) ====== | ||
| + | |||
| + | ===== Verzeichnisstruktur ===== | ||
| + | < | ||
| + | traefik/ | ||
| + | ├─ config/ | ||
| + | │ ├─ traefik.yml | ||
| + | │ └─ dynamic/ | ||
| + | │ | ||
| + | │ | ||
| + | │ | ||
| + | │ | ||
| + | ├─ letsencrypt/ | ||
| + | │ ├─ acme.json | ||
| + | │ └─ clean.sh | ||
| + | ├─ data/ | ||
| + | │ ├─ prometheus/ | ||
| + | │ └─ grafana/ | ||
| + | ├─ errorpage/ | ||
| + | │ ├─ index.html | ||
| + | │ ├─ test.html | ||
| + | │ └─ nginx.conf | ||
| + | └─ docker-compose.yml | ||
| + | </ | ||
| + | |||
| + | ===== docker-compose.yml – Aufbau ===== | ||
| + | Die '' | ||
| + | |||
| + | ==== 1) Traefik (Reverse Proxy) ==== | ||
| + | * **Image:** '' | ||
| + | * **Ports:** 80 (HTTP), 443 (HTTPS), 25 / 587 / 993 (Mail/TCP) | ||
| + | * **Volumes: | ||
| + | * ''/ | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * **Labels (Auszug):** | ||
| + | * Dashboard ĂĽber '' | ||
| + | * BasicAuth: '' | ||
| + | * Redirect HTTP→HTTPS: | ||
| + | * Security-Chain: | ||
| + | * **Netzwerke: | ||
| + | |||
| + | ==== 2) Certs-Dumper ==== | ||
| + | * **Image:** '' | ||
| + | * Liest '' | ||
| + | |||
| + | ==== 3) Prometheus ==== | ||
| + | * **Image:** '' | ||
| + | * **Ports:** extern 9091 → intern 9090 | ||
| + | * **Volumes: | ||
| + | * **Traefik: | ||
| + | |||
| + | ==== 4) Grafana ==== | ||
| + | * **Image:** '' | ||
| + | * **Port:** 3000 | ||
| + | * **Volume:** '' | ||
| + | * **Env:** '' | ||
| + | * **Traefik: | ||
| + | |||
| + | ==== 5) Errorpage ==== | ||
| + | * **Image:** '' | ||
| + | * **Volumes: | ||
| + | * Liefert benutzerdefinierte Fehlerseiten fĂĽr 4xx/5xx | ||
| + | |||
| + | ===== Netzwerke ===== | ||
| + | * **ldap-net** → Bridge für LDAP-Bezug | ||
| + | * **docker_backend** → Zentrales Backend-Netz (extern vorhanden) | ||
| + | * **proxy** → optional/ | ||
| + | |||
| + | ===== Sicherheit ===== | ||
| + | * **Zertifikate: | ||
| + | * **Middlewares: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | ===== Monitoring ===== | ||
| + | * **Prometheus** sammelt Metriken (Traefik-/ | ||
| + | * **Grafana** visualisiert (Subdomain: '' | ||
| + | |||
| + | ===== Zugriff ===== | ||
| + | * Traefik Dashboard: '' | ||
| + | * Prometheus: '' | ||
| + | * Grafana: '' | ||
| + | |||
| + | ===== ASCII-NetzwerkĂĽbersicht (a2s) ===== | ||
| + | <a2s> | ||
| + | .-----------------. | ||
| + | | Client | ||
| + | | (Browser) | ||
| + | ' | ||
| + | | | ||
| + | | HTTP/TCP | ||
| + | | | ||
| + | +--> Prometheus (9090) | ||
| + | +--> Grafana (3000) | ||
| + | +--> Errorpage (nginx) | ||
| + | +--> Mail (25 / 587 / 993) | ||
| + | </ | ||
stacks/traefik.1756374169.txt.gz · Zuletzt geändert: von lars