mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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>
This commit is contained in:
parent
2c246276fd
commit
3e60b41883
@ -1,4 +1,4 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:1.19.3-alpine
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY htpasswd /etc/nginx/htpasswd
|
COPY htpasswd /etc/nginx/htpasswd
|
||||||
|
@ -2,5 +2,6 @@
|
|||||||
# http://prometheus:9090 (Prometheus inside the docker compose)
|
# http://prometheus:9090 (Prometheus inside the docker compose)
|
||||||
|
|
||||||
nginxproxy:
|
nginxproxy:
|
||||||
build: docker/blocks/nginx_proxy
|
build: docker/blocks/prometheus_basic_auth_proxy
|
||||||
network_mode: host
|
ports:
|
||||||
|
- "10090:10090"
|
||||||
|
@ -2,6 +2,7 @@ events { }
|
|||||||
|
|
||||||
http {
|
http {
|
||||||
server {
|
server {
|
||||||
|
error_log stderr info;
|
||||||
|
|
||||||
listen 10090;
|
listen 10090;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user