Merge pull request #574 from tomprince/patch-1
Use docker volume to store metric data
This commit is contained in:
commit
ecf3449222
|
@ -25,5 +25,6 @@ VOLUME [ "/prometheus" ]
|
||||||
WORKDIR /prometheus
|
WORKDIR /prometheus
|
||||||
ENTRYPOINT [ "/go/src/github.com/prometheus/prometheus/prometheus" ]
|
ENTRYPOINT [ "/go/src/github.com/prometheus/prometheus/prometheus" ]
|
||||||
CMD [ "-logtostderr", "-config.file=/prometheus.conf", \
|
CMD [ "-logtostderr", "-config.file=/prometheus.conf", \
|
||||||
|
"-storage.local.path=/prometheus", \
|
||||||
"-web.console.libraries=/go/src/github.com/prometheus/prometheus/console_libraries", \
|
"-web.console.libraries=/go/src/github.com/prometheus/prometheus/console_libraries", \
|
||||||
"-web.console.templates=/go/src/github.com/prometheus/prometheus/consoles" ]
|
"-web.console.templates=/go/src/github.com/prometheus/prometheus/consoles" ]
|
||||||
|
|
Loading…
Reference in New Issue