From 86a1605242c296827d72edf313fe6503b4125d36 Mon Sep 17 00:00:00 2001 From: drunkendog Date: Wed, 20 Dec 2023 03:56:13 +0000 Subject: [PATCH] Add auth to prometheus --- scripts/prometheus/launch-docker.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/prometheus/launch-docker.sh b/scripts/prometheus/launch-docker.sh index 196a92d..68b9a07 100644 --- a/scripts/prometheus/launch-docker.sh +++ b/scripts/prometheus/launch-docker.sh @@ -1,6 +1,7 @@ docker run -d --net main_subnet --ip 172.30.27.1 \ -v /opt/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml \ + -v /opt/prometheus/web.yml:/etc/prometheus/web.yml \ -v /opt/prometheus/data:/prometheus \ --name=prometheus \ --restart unless-stopped \ -prom/prometheus \ No newline at end of file +prom/prometheus --config.file=/etc/prometheus/prometheus.yml --web.config.file=/etc/prometheus/web.yml \ No newline at end of file