fix: Move all stacks directly under stacks/ (no category subfolders)
This commit is contained in:
parent
d9f4e1d22c
commit
a7b59b417c
10 changed files with 0 additions and 0 deletions
69
stacks/prometheus/README.md
Normal file
69
stacks/prometheus/README.md
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# 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
|
||||
32
stacks/prometheus/compose.yml
Normal file
32
stacks/prometheus/compose.yml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue