README.md aktualisiert
This commit is contained in:
parent
42fd6cc8f0
commit
0d37062c07
|
@ -16,16 +16,16 @@ sh get-docker.sh</code>
|
||||||
<code>docker volume create prometheus-data
|
<code>docker volume create prometheus-data
|
||||||
docker volume create prometheus-conf</code>
|
docker volume create prometheus-conf</code>
|
||||||
|
|
||||||
<pre><span>
|
|
||||||
docker run \
|
<pre><span>docker run \
|
||||||
-p 9090:9090 \
|
-p 9090:9090 \
|
||||||
-v prometheus-data:/prometheus \
|
-v prometheus-data:/prometheus \
|
||||||
-v prometheus-conf:/etc/prometheus \
|
-v prometheus-conf:/etc/prometheus \
|
||||||
--name prometheus \
|
--name prometheus \
|
||||||
--restart=always
|
--restart=always
|
||||||
prom/prometheus:latest
|
prom/prometheus:latest </pre></span>
|
||||||
|
|
||||||
|
|
||||||
</pre></span>
|
|
||||||
### Wer die Retention Time setzen möchte fügt folgendes hinzu. (Aufbewahrungszeit)
|
### Wer die Retention Time setzen möchte fügt folgendes hinzu. (Aufbewahrungszeit)
|
||||||
--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml
|
--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue