Browse Source

Remove /etc/prometheus from volume definition

pull/664/head
Johannes 'fish' Ziemke 10 years ago
parent
commit
166f492a0e
  1. 2
      Dockerfile

2
Dockerfile

@ -26,7 +26,7 @@ RUN apk add --update -t build-deps go git mercurial vim \
&& apk del --purge build-deps && apk del --purge build-deps
EXPOSE 9090 EXPOSE 9090
VOLUME [ "/prometheus", "/etc/prometheus" ] VOLUME [ "/prometheus" ]
WORKDIR /prometheus WORKDIR /prometheus
ENTRYPOINT [ "/bin/prometheus" ] ENTRYPOINT [ "/bin/prometheus" ]
CMD [ "-logtostderr", "-config.file=/etc/prometheus/prometheus.conf", \ CMD [ "-logtostderr", "-config.file=/etc/prometheus/prometheus.conf", \

Loading…
Cancel
Save