Merge pull request #486 from prometheus/docker-fix-console-path

Set console paths correctly
This commit is contained in:
juliusv 2015-01-28 19:56:12 +01:00
commit 4e0d2f9820
1 changed files with 3 additions and 1 deletions

View File

@ -24,4 +24,6 @@ EXPOSE 9090
VOLUME [ "/prometheus" ]
WORKDIR /prometheus
ENTRYPOINT [ "/go/src/github.com/prometheus/prometheus/prometheus" ]
CMD [ "-logtostderr", "-config.file=/prometheus.conf" ]
CMD [ "-logtostderr", "-config.file=/prometheus.conf", \
"-web.console.libraries=/go/src/github.com/prometheus/prometheus/console_libraries", \
"-web.console.templates=/go/src/github.com/prometheus/prometheus/consoles" ]