mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Use docker volume to store metric data
This commit is contained in:
parent
0a1678b5f1
commit
6874377e9b
|
@ -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" ]
|
||||
|
|
Loading…
Reference in a new issue