Skip to content

Instantly share code, notes, and snippets.

@Dnile
Created January 18, 2016 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dnile/1ad986c9f4c48c30bd06 to your computer and use it in GitHub Desktop.
Save Dnile/1ad986c9f4c48c30bd06 to your computer and use it in GitHub Desktop.
FROM prom/prometheus
EXPOSE 9090
VOLUME [ "/prometheus" ]
WORKDIR /prometheus
ENTRYPOINT [ "/bin/prometheus" ]
CMD [ "-config.file=/etc/prometheus/prometheus.yml", \
"-storage.local.path=/prometheus", \
"-alertmanager.url=http://localhost:9093", \
"-web.console.libraries=/etc/prometheus/console_libraries", \
"-web.console.templates=/etc/prometheus/consoles" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment