prometheus
This commit is contained in:
@@ -107,6 +107,7 @@ docker run --detach --name prometheus \
|
||||
--network proxy_net \
|
||||
-p "9090:9090" \
|
||||
-v prometheus:/prometheus \
|
||||
-v ./prometheus.yml:/etc/prometheus/prometheus.yml \
|
||||
-v ./prometheus:/etc/prometheus/targets \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock:ro \
|
||||
-l "caddy=prometheus.localhost" \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- labels:
|
||||
job: pompe
|
||||
job: "c"
|
||||
targets:
|
||||
- "localhost:8099"
|
||||
- "pompes:8099"
|
||||
|
||||
Reference in New Issue
Block a user