feat: Flatten stack structure - all stacks directly in stacks/

- Removed all subdirectories
- Renamed compose.yml to <stack>-compose.yml
- Updated stack.toml to reference new compose file names
- Structure is now flat for easier Komodo sync

New structure:
stacks/
├── prometheus.toml
├── prometheus-compose.yml
├── grafana.toml
├── grafana-compose.yml
├── gotify.toml
├── gotify-compose.yml
├── vaultwarden.toml
├── vaultwarden-compose.yml
└── node-exporter.toml
└── node-exporter-compose.yml
This commit is contained in:
nocci 2026-03-09 19:26:17 +00:00
parent 2ee82c24e1
commit f0bcf8c70c
15 changed files with 5 additions and 348 deletions

View file

@ -1,74 +0,0 @@
# Grafana
📊 **Dashboards & Visualisierung**
Grafana ist eine Open-Source-Plattform für Datenvisualisierung.
---
## 🚀 Quick Start
1. **In Komodo:** Stack auswählen → Deploy
2. **Server wählen**
3. **Warten** bis Container läuft
4. **Caddy Config** hinzufügen
5. **Öffnen** und einloggen (admin/admin)
---
## 🔧 Caddy Integration
```bash
ssh <server>
sudo nano /etc/caddy/Caddyfile
```
Hinzufügen:
```caddyfile
grafana.example.com {
reverse_proxy localhost:3000
}
```
```bash
sudo systemctl reload caddy
```
---
## 🔐 Secrets (Komodo)
| Secret Name | Beschreibung | Beispiel |
|-------------|--------------|----------|
| `grafana-admin-user` | Admin Username | `admin` |
| `grafana-admin-pass` | Admin Password | `sicheres-passwort` |
---
## 📁 Files
- `compose.yml` - Docker Compose Konfiguration
---
## 📊 Datenquellen
Nach dem ersten Login:
1. **Configuration → Data Sources**
2. **Add data source**
3. **Prometheus** auswählen
4. URL: `http://prometheus:9090` (wenn auf gleichem Server: `http://localhost:9090`)
5. **Save & Test**
---
## 🔄 Updates
Wird automatisch aktuell gehalten durch Komodo.
---
## 📞 Support
- **Docs:** https://grafana.com/docs
- **GitHub:** https://github.com/grafana/grafana

View file

@ -1,30 +0,0 @@
services:
grafana:
image: grafana/grafana:latest
container_name: grafana
restart: unless-stopped
ports:
- "127.0.0.1:3000:3000"
volumes:
- grafana_data:/var/lib/grafana
- grafana_config:/etc/grafana
environment:
- GF_SECURITY_ADMIN_USER=${SECRET:grafana-admin-user}
- GF_SECURITY_ADMIN_PASSWORD=${SECRET:grafana-admin-pass}
- GF_USERS_ALLOW_SIGN_UP=false
networks:
- monitoring
healthcheck:
test: ["CMD-SHELL", "wget --spider -q http://localhost:3000/api/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
volumes:
grafana_data:
grafana_config:
networks:
monitoring:
driver: bridge

View file

@ -1,25 +0,0 @@
[stack]
name = "Grafana"
description = "Grafana Dashboards & Visualisierung"
version = "1.0.0"
category = "monitoring"
author = "nocci"
[compose]
file = "compose.yml"
[variables.secrets]
grafana-admin-user = "Admin Username"
grafana-admin-pass = "Admin Password"
[ports]
grafana = "3000"
[volumes]
grafana_data = "/var/lib/grafana"
[healthcheck]
endpoint = "http://localhost:3000/api/health"
interval = "30s"
timeout = "10s"
retries = 3