FW - Docker-Übersicht aller Services (docker ps, Compose-Struktur)
Vollständige Bestandsaufnahme aller Container, Ports und Compose-Stacks im Setup vitruvian@pop-os. Diese Seite dient als zentrale Referenz und wird nach jeder Container-Änderung aktualisiert.
1. Zielsetzung
2. Verzeichnis-Schema (zur Erinnerung)
~/0_docker/
├── [PORT]_[NAME]/
│ ├── docker-compose.yml
│ ├── .env
│ ├── data/
│ └── (weitere service-spezifische Verzeichnisse)
└── ...
Jeder Stack hat einen eigenen Ordner mit Port-Prefix. Damit ist die Port-Belegung beim ls ~/0_docker sofort sichtbar.
3. Container-Inventar
3.1 Infrastruktur & Reverse Proxy
3.2 Datenhaltung & Dokumentenmanagement
3.3 Office & Kommunikation
3.4 KI-Kerntools
3.5 Automatisierung & Entwicklung
3.6 Buchhaltung & Business
3.7 KI-CRM (Eigenentwicklung)
3.8 Monitoring (aus Block 1)
4. Quick-Check-Befehle
# Alle laufenden Container
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
# Komplette Liste inkl. gestoppter Container
docker ps -a --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
# Live-Ressourcenverbrauch
docker stats --no-stream
# Welche Compose-Stacks sind in 0_docker?
ls -d ~/0_docker/*/ | sed 's:.*/::; s:/$::' | sort
# Pro Stack: Healthcheck-Status
for d in ~/0_docker/*/; do
echo "=== $(basename $d) ==="
(cd "$d" && docker compose ps 2>/dev/null)
done
5. Ports-Konflikt-Prävention
Eine zentrale Tabelle aller belegten Ports hilft, beim Anlegen neuer Stacks keine Doppelbelegung zu produzieren. Die obige Liste ist der "Stand der Wahrheit". Bei jedem neuen Service:
sudo lsof -i :PORT ausführen
In dieser Doku den Eintrag ergänzen
Erst dann den Stack erstellen
6. Compose-Standards (für alle Stacks)
restart: unless-stopped für Produktion
LAN-only Binding: 192.168.0.16:PORT:PORT
Secrets in .env, chmod 600
Volumes als Bind-Mounts ins Stack-Verzeichnis (keine anonymen Volumes)
Healthchecks wo verfügbar
7. Visueller Stack-Plan
Internet / VPN
│
▼
┌───────────────┐
│ NPM (80/443) │
└───────┬───────┘
│
┌────────┴────────┐
│ Reverse Proxy │
│ / pihole-DNS │
└──┬───────┬──────┘
│ │
┌──────┴───┐ ┌─┴───────────────────┐
│ UI-Apps │ │ Daten & Backend │
│ openwebui│ │ ollama, localai, │
│ anything │ │ paperless, nextcl. │
│ bookstack│ │ mariadb, postgres │
│ ... │ │ redis, ... │
└──────┬───┘ └─────────┬───────────┘
│ │
└───────┬───────┘
│
┌─────▼─────┐
│ RTX 5090 │
│ GPU-Workl. │
└────────────┘
8. Pflege-Disziplin
docker ps-Output speichern als Snapshot in BookStack
9. Checkliste
docker ps-Ausgabe als Audit-Anlage
☐ Visueller Stack-Plan aktuell
Querverweise: Docker-Installation (Block 1) | Funktionsnachweis je Tool | Toolauswahl