fix: Move all stacks directly under stacks/ (no category subfolders)

This commit is contained in:
nocci 2026-03-09 17:37:32 +00:00
parent d9f4e1d22c
commit a7b59b417c
10 changed files with 0 additions and 0 deletions

74
stacks/grafana/README.md Normal file
View file

@ -0,0 +1,74 @@
# 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

@ -0,0 +1,30 @@
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