From 882d13ebe10be37f0ca72dddb5308af17f391820 Mon Sep 17 00:00:00 2001 From: sven Date: Sun, 18 Jan 2026 09:32:25 +0100 Subject: [PATCH] =?UTF-8?q?Healthcheck=20f=C3=BCr=20Prometheus=20eingebaut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prometheus/compose.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/prometheus/compose.yaml b/prometheus/compose.yaml index 3e185ae..830b527 100755 --- a/prometheus/compose.yaml +++ b/prometheus/compose.yaml @@ -16,8 +16,15 @@ services: - --storage.tsdb.retention.time=7200d - --storage.tsdb.retention.size=0 - --storage.tsdb.wal-compression + - --log.level=error # Nur Errors loggen image: prom/prometheus restart: unless-stopped + healthcheck: + test: ["CMD-SHELL", "wget --spider --quiet http://localhost:9090/-/ready || exit 1"] + interval: 10s + timeout: 5s + retries: 3 + pve-exporter: image: prompve/prometheus-pve-exporter:latest container_name: prometheus-pve-exporter