Retention angepasst
This commit is contained in:
Regular → Executable
+6
@@ -10,6 +10,12 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
||||||
- /prometheus/:/prometheus
|
- /prometheus/:/prometheus
|
||||||
|
command:
|
||||||
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||||
|
- '--storage.tsdb.path=/prometheus'
|
||||||
|
- '--storage.tsdb.retention.time=7200d'
|
||||||
|
- '--storage.tsdb.retention.size=0'
|
||||||
|
|
||||||
image: prom/prometheus
|
image: prom/prometheus
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks: {}
|
networks: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user