34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
# 🏗 Bruchtal Docker-Architektur
|
|
|
|
## Übersicht
|
|
|
|
Die Bruchtal-Infrastruktur läuft vollständig containerisiert auf einer VM.
|
|
Alle Dienste kommunizieren über ein dediziertes Docker-Netzwerk, nutzen Git zur Versionierung und automatisches Deploy über Webhooks.
|
|
|
|
**Hauptkomponenten:**
|
|
|
|
| Service | Containername | Funktion |
|
|
|----------------|-------------------|---------|
|
|
| Gitea | `gitea` | Git-Server für Infrastruktur & Dokumentation |
|
|
| Wiki.js | `wikijs` | Wissensmanagement & Dokumentation |
|
|
| MkDocs | `bruchtal-docs` | Statische Markdown-Dokumentation |
|
|
| Webhook | `bruchtal-webhook`| Automatisches Deploy bei Git Push |
|
|
| Docker Host | VM | Plattform für alle Container |
|
|
|
|
---
|
|
|
|
## 🔗 Netzwerke
|
|
|
|
Alle Container laufen im **gemeinsamen Docker-Netzwerk** `bruchtal-net`:
|
|
|
|
- Kommunikation per Service-Namen (`gitea`, `bruchtal-webhook`)
|
|
- Keine Abhängigkeit von Host-IP
|
|
- Isoliert von anderen VM-Netzwerken
|
|
|
|
Beispiel Docker-Compose-Netzwerkdefinition:
|
|
|
|
```yaml
|
|
networks:
|
|
bruchtal-net:
|
|
external: true
|