Healthcheck für Prometheus eingebaut
This commit is contained in:
@@ -16,8 +16,15 @@ services:
|
|||||||
- --storage.tsdb.retention.time=7200d
|
- --storage.tsdb.retention.time=7200d
|
||||||
- --storage.tsdb.retention.size=0
|
- --storage.tsdb.retention.size=0
|
||||||
- --storage.tsdb.wal-compression
|
- --storage.tsdb.wal-compression
|
||||||
|
- --log.level=error # Nur Errors loggen
|
||||||
image: prom/prometheus
|
image: prom/prometheus
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "wget --spider --quiet http://localhost:9090/-/ready || exit 1"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
pve-exporter:
|
pve-exporter:
|
||||||
image: prompve/prometheus-pve-exporter:latest
|
image: prompve/prometheus-pve-exporter:latest
|
||||||
container_name: prometheus-pve-exporter
|
container_name: prometheus-pve-exporter
|
||||||
|
|||||||
Reference in New Issue
Block a user