adjusted TSDB retention time to one year

This commit is contained in:
Tamás Gérczei 2020-06-17 07:36:45 +02:00
parent 6fd640e84c
commit 96e5f82620
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ services:
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
- tsdb:/prometheus:rw
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.retention.time=1y'
grafana:
container_name: grafana
hostname: grafana