Browse Source

Fix command line flags in Dockerfile

pull/2942/head
Fabian Reinartz 7 years ago committed by GitHub
parent
commit
377a549fe6
  1. 8
      Dockerfile

8
Dockerfile

@ -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" ]

Loading…
Cancel
Save