README.md aktualisiert

This commit is contained in:
M_Viper 2024-02-15 14:36:00 +00:00
parent 39b0d31b76
commit 42fd6cc8f0
1 changed files with 3 additions and 3 deletions

View File

@ -16,16 +16,16 @@ sh get-docker.sh</code>
<code>docker volume create prometheus-data
docker volume create prometheus-conf</code>
<li><span>
<pre><span>
docker run \
-p 9090:9090 \
-p 9090:9090 \
-v prometheus-data:/prometheus \
-v prometheus-conf:/etc/prometheus \
--name prometheus \
--restart=always
prom/prometheus:latest
</li></span>
</pre></span>
### Wer die Retention Time setzen möchte fügt folgendes hinzu. (Aufbewahrungszeit)
--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml