prometheus
This commit is contained in:
@@ -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" \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
- labels:
|
- labels:
|
||||||
job: pompe
|
job: "c"
|
||||||
targets:
|
targets:
|
||||||
- "localhost:8099"
|
- "pompes:8099"
|
||||||
|
|||||||
Reference in New Issue
Block a user