Posts Categorized: monitoring

Add Auth to Prometheus Container

Using docker-compose to run a prometheus container that I wanted basic auth added to. My docker-compose file is shown below: Notice that I am mounting a directory from the host into /etc/prometheus on the container exposing the web.yml file (see below). Also I am specifying the web.yml file as a command line parameter when prometheus… Read more »