README.md aktualisiert
This commit is contained in:
parent
80d00db791
commit
2f772cf804
|
@ -8,6 +8,7 @@ Prometheus docker Install
|
|||
apt install curl</code>
|
||||
|
||||
#Docker Installation
|
||||
|
||||
<code>curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
sh get-docker.sh</code>
|
||||
|
||||
|
@ -15,6 +16,7 @@ sh get-docker.sh</code>
|
|||
<code>docker volume create prometheus-data
|
||||
docker volume create prometheus-conf</code>
|
||||
|
||||
<code>
|
||||
docker run \
|
||||
-p 9090:9090 \
|
||||
-v prometheus-data:/prometheus \
|
||||
|
@ -23,6 +25,7 @@ docker run \
|
|||
--restart=always
|
||||
prom/prometheus:latest
|
||||
|
||||
</code>
|
||||
### Wer die Retention Time setzen möchte fügt folgendes hinzu. (Aufbewahrungszeit)
|
||||
--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml
|
||||
|
||||
|
|
Loading…
Reference in New Issue