From 6874377e9b8921bcede9876eb45492346ef71053 Mon Sep 17 00:00:00 2001 From: Tom Prince Date: Tue, 3 Mar 2015 16:34:35 -0700 Subject: [PATCH] Use docker volume to store metric data --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b7c0246ed..36276f7e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,5 +25,6 @@ VOLUME [ "/prometheus" ] WORKDIR /prometheus ENTRYPOINT [ "/go/src/github.com/prometheus/prometheus/prometheus" ] CMD [ "-logtostderr", "-config.file=/prometheus.conf", \ + "-storage.local.path=/prometheus", \ "-web.console.libraries=/go/src/github.com/prometheus/prometheus/console_libraries", \ "-web.console.templates=/go/src/github.com/prometheus/prometheus/consoles" ]