komodo-stacks/README.md
nocci b37541bb7a feat: Restructure to subdirectories with compose.yml
Each stack now has its own directory with standard compose.yml:
- stacks/gotify/compose.yml
- stacks/prometheus/compose.yml
- stacks/grafana/compose.yml
- stacks/vaultwarden/compose.yml
- stacks/node-exporter/compose.yml

Benefits:
- Cleaner structure
- Easier to maintain
- Works with Komodo manual stack creation
- README.md for each stack with deployment info

Usage in Komodo:
1. Stacks → Add Stack
2. Source: Git Repo (nocci/komodo-stacks)
3. Path: stacks/<stack-name>/ (the folder!)
4. Deploy to server
2026-03-09 19:51:35 +00:00

115 lines
2.1 KiB
Markdown

# Komodo Stacks
🦎 Docker Compose Stacks für Komodo Platform
---
## 📁 Struktur
```
komodo-stacks/
└── stacks/
├── gotify/
│ ├── compose.yml
│ └── README.md
├── prometheus/
│ ├── compose.yml
│ └── README.md
├── grafana/
│ ├── compose.yml
│ └── README.md
├── vaultwarden/
│ ├── compose.yml
│ └── README.md
└── node-exporter/
├── compose.yml
└── README.md
```
---
## 🚀 Verwendung in Komodo
### Manuelle Stack-Erstellung (empfohlen):
1. **Stacks → Add Stack**
2. **Name:** `gotify` (oder anderer Stack-Name)
3. **Quelle:** Git Repository
4. **Repo:** `nocci/komodo-stacks`
5. **Pfad:** `stacks/gotify/` (der Ordner!)
6. **Deploy** auf gewünschtem Server
### Für jeden Stack:
| Stack | Pfad |
|-------|------|
| Gotify | `stacks/gotify/` |
| Prometheus | `stacks/prometheus/` |
| Grafana | `stacks/grafana/` |
| Vaultwarden | `stacks/vaultwarden/` |
| Node Exporter | `stacks/node-exporter/` |
---
## 🔐 Secrets
Secrets werden in Komodo verwaltet:
1. **Settings → Secrets**
2. **Add Secret**
3. **Name und Wert** eingeben
4. **Beim Stack-Deploy** auswählen
---
## 🌐 Caddy Integration
Jeder Stack hört auf `localhost:PORT`. Caddy Config auf dem Server bearbeiten:
```bash
ssh <server>
sudo nano /etc/caddy/Caddyfile
```
Beispiel für Gotify:
```caddyfile
gotify.example.com {
reverse_proxy localhost:9091
}
```
Dann:
```bash
sudo systemctl reload caddy
```
---
## 📦 Verfügbare Stacks
### Monitoring
- **prometheus** - Monitoring & Alerting
- **grafana** - Dashboards & Visualisierung
- **node-exporter** - System-Metriken
### Communication
- **gotify** - Push-Benachrichtigungen
### Security
- **vaultwarden** - Password Manager
---
## 🛠️ Eigene Stacks hinzufügen
1. **Ordner erstellen:** `stacks/<stack-name>/`
2. **compose.yml** erstellen
3. **README.md** mit Infos
4. **Commit & Push**
---
**Author:** nocci
**Version:** 1.0.0
**License:** MIT
**Komodo Version:** v2.0.0-dev-123+