README.md aktualisiert
This commit is contained in:
parent
39b0d31b76
commit
42fd6cc8f0
|
@ -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>
|
||||||
|
|
||||||
<li><span>
|
<pre><span>
|
||||||
docker run \
|
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
|
||||||
|
|
||||||
</li></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