This commit is contained in:
Getlles
2026-11-19 18:05:43 +03:00
parent 042d5f83f2
commit 33f2448e20
8 changed files with 803 additions and 331 deletions
+3 -2
View File
@@ -97,8 +97,9 @@ services:
- "--storage.tsdb.retention.time=7d"
- "--web.enable-remote-write-receiver"
volumes:
- ./infra/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
- promdata:/prometheus
- ./infra/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
- ./infra/prometheus/alerts.yml:/etc/prometheus/alerts.yml:ro
- promdata:/prometheus
healthcheck:
test: ["CMD-SHELL", "wget -q -O /dev/null http://127.0.0.1:9090/-/healthy || exit 1"]
interval: 5s