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:
parent
2ee82c24e1
commit
f0bcf8c70c
15 changed files with 5 additions and 348 deletions
|
|
@ -1,69 +0,0 @@
|
|||
# Prometheus
|
||||
|
||||
📊 **Monitoring & Alerting**
|
||||
|
||||
Prometheus ist ein Open-Source-Monitoring- und Alerting-System.
|
||||
|
||||
---
|
||||
|
||||
## 🚀 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** unter `prometheus.example.com`
|
||||
|
||||
---
|
||||
|
||||
## 🔧 Caddy Integration
|
||||
|
||||
```bash
|
||||
ssh <server>
|
||||
sudo nano /etc/caddy/Caddyfile
|
||||
```
|
||||
|
||||
Hinzufügen:
|
||||
```caddyfile
|
||||
prometheus.example.com {
|
||||
reverse_proxy localhost:9090
|
||||
}
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo systemctl reload caddy
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔐 Secrets (Komodo)
|
||||
|
||||
Keine Secrets erforderlich für Basis-Installation.
|
||||
|
||||
---
|
||||
|
||||
## 📁 Files
|
||||
|
||||
- `compose.yml` - Docker Compose Konfiguration
|
||||
|
||||
---
|
||||
|
||||
## 📊 Prometheus UI
|
||||
|
||||
- **URL:** http://localhost:9090
|
||||
- **Query Browser:** `/graph`
|
||||
- **Alerts:** `/alerts`
|
||||
- **Targets:** `/targets`
|
||||
|
||||
---
|
||||
|
||||
## 🔄 Updates
|
||||
|
||||
Prometheus wird automatisch aktuell gehalten durch Komodo.
|
||||
|
||||
---
|
||||
|
||||
## 📞 Support
|
||||
|
||||
- **Docs:** https://prometheus.io/docs
|
||||
- **GitHub:** https://github.com/prometheus/prometheus
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
services:
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
container_name: prometheus
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:9090:9090"
|
||||
volumes:
|
||||
- prometheus_data:/prometheus
|
||||
- prometheus_config:/etc/prometheus
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
- '--storage.tsdb.path=/prometheus'
|
||||
- '--storage.tsdb.retention.time=15d'
|
||||
- '--web.console.libraries=/etc/prometheus/console_libraries'
|
||||
- '--web.console.templates=/etc/prometheus/consoles'
|
||||
networks:
|
||||
- monitoring
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:9090/-/healthy"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
volumes:
|
||||
prometheus_data:
|
||||
prometheus_config:
|
||||
|
||||
networks:
|
||||
monitoring:
|
||||
driver: bridge
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
[stack]
|
||||
name = "Prometheus"
|
||||
description = "Prometheus Monitoring & Alerting System"
|
||||
version = "1.0.0"
|
||||
category = "monitoring"
|
||||
author = "nocci"
|
||||
|
||||
[compose]
|
||||
file = "compose.yml"
|
||||
|
||||
[variables]
|
||||
# Keine Secrets erforderlich
|
||||
|
||||
[ports]
|
||||
prometheus = "9090"
|
||||
|
||||
[volumes]
|
||||
prometheus_data = "/prometheus"
|
||||
|
||||
[healthcheck]
|
||||
endpoint = "http://localhost:9090/-/healthy"
|
||||
interval = "30s"
|
||||
timeout = "10s"
|
||||
retries = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue