diff --git a/docker-compose/prometheus/Dockerfile b/docker-compose/prometheus/Dockerfile index ad8e5165b06b55a3ca1e273d09ee2fbf6c69db1c..ed4c142dbe0f11c339abf71ff57854b7c345ec29 100644 --- a/docker-compose/prometheus/Dockerfile +++ b/docker-compose/prometheus/Dockerfile @@ -2,4 +2,4 @@ FROM prom/prometheus COPY prometheus.yml /etc/prometheus/prometheus.yml -CMD ["--config.file=/etc/prometheus/prometheus.yml", "--storage.tsdb.path=/prometheus", "--web.console.libraries=/usr/share/prometheus/console_libraries", "--web.console.templates=/usr/share/prometheus/consoles", "--storage.tsdb.retention.time=31d"] +CMD ["--config.file=/etc/prometheus/prometheus.yml", "--storage.tsdb.path=/prometheus", "--web.console.libraries=/usr/share/prometheus/console_libraries", "--web.console.templates=/usr/share/prometheus/consoles", "--storage.tsdb.retention.time=5y", "--storage.tsdb.retention.size=500GB", "--web.enable-admin-api"]