Fix command line flags in Dockerfile

This commit is contained in:
Fabian Reinartz 2017-07-13 12:14:49 +02:00 committed by GitHub
parent 2b5d915953
commit 377a549fe6
1 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ EXPOSE 9090
VOLUME [ "/prometheus" ]
WORKDIR /prometheus
ENTRYPOINT [ "/bin/prometheus" ]
CMD [ "-config.file=/etc/prometheus/prometheus.yml", \
"-storage.local.path=/prometheus", \
"-web.console.libraries=/usr/share/prometheus/console_libraries", \
"-web.console.templates=/usr/share/prometheus/consoles" ]
CMD [ "--config.file=/etc/prometheus/prometheus.yml", \
"--storage.tsdb.path=/prometheus", \
"--web.console.libraries=/usr/share/prometheus/console_libraries", \
"--web.console.templates=/usr/share/prometheus/consoles" ]