Commit 1fb21b9d authored by Steve Durrheimer's avatar Steve Durrheimer

Installing : Rename refs to prometheus.conf -> prometheus.yml

parent de5ce4b6
...@@ -47,10 +47,10 @@ two examples. ...@@ -47,10 +47,10 @@ two examples.
### Volumes & bind-mount ### Volumes & bind-mount
Bind-mount your prometheus.conf from the host by running: Bind-mount your prometheus.yml from the host by running:
``` ```
docker run -p 9090:9090 -v /tmp/prometheus.conf:/etc/prometheus/prometheus.conf \ docker run -p 9090:9090 -v /tmp/prometheus.yml:/etc/prometheus/prometheus.yml \
prom/prometheus prom/prometheus
``` ```
...@@ -58,7 +58,7 @@ Or use an additional volume for the config: ...@@ -58,7 +58,7 @@ Or use an additional volume for the config:
``` ```
docker run -p 9090:9090 -v /prometheus-data \ docker run -p 9090:9090 -v /prometheus-data \
prom/prometheus -config.file=/prometheus-data/prometheus.conf prom/prometheus -config.file=/prometheus-data/prometheus.yml
``` ```
### Custom image ### Custom image
...@@ -73,7 +73,7 @@ Dockerfile like this: ...@@ -73,7 +73,7 @@ Dockerfile like this:
``` ```
FROM prom/prometheus FROM prom/prometheus
ADD prometheus.conf /etc/prometheus/ ADD prometheus.yml /etc/prometheus/
``` ```
Now build and run it: Now build and run it:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment