prometheus

This commit is contained in:
2025-12-04 07:43:01 +01:00
parent bafd39b0cd
commit df57a85b71
2 changed files with 3 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ docker run --detach --name prometheus \
--network proxy_net \ --network proxy_net \
-p "9090:9090" \ -p "9090:9090" \
-v prometheus:/prometheus \ -v prometheus:/prometheus \
-v ./prometheus.yml:/etc/prometheus/prometheus.yml \
-v ./prometheus:/etc/prometheus/targets \ -v ./prometheus:/etc/prometheus/targets \
-v /var/run/docker.sock:/var/run/docker.sock:ro \ -v /var/run/docker.sock:/var/run/docker.sock:ro \
-l "caddy=prometheus.localhost" \ -l "caddy=prometheus.localhost" \

View File

@@ -1,4 +1,4 @@
- labels: - labels:
job: pompe job: "c"
targets: targets:
- "localhost:8099" - "pompes:8099"