Commit 3e60b418 by Arve Knudsen Committed by GitHub

Devenv: Fix Prometheus basic auth proxy (#28889)

* prometheus basic auth proxy: Pin base image version

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* prometheus basic auth proxy: Don't use host network mode

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* prometheus basic auth proxy: Enable logging

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* prometheus basic auth proxy: Fix Dockerfile location

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent 2c246276
FROM nginx:alpine
FROM nginx:1.19.3-alpine
COPY nginx.conf /etc/nginx/nginx.conf
COPY htpasswd /etc/nginx/htpasswd
......@@ -2,5 +2,6 @@
# http://prometheus:9090 (Prometheus inside the docker compose)
nginxproxy:
build: docker/blocks/nginx_proxy
network_mode: host
build: docker/blocks/prometheus_basic_auth_proxy
ports:
- "10090:10090"
......@@ -2,6 +2,7 @@ events { }
http {
server {
error_log stderr info;
listen 10090;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment