From 79908b8a54768a073375957a03dad67a56f207fd Mon Sep 17 00:00:00 2001 From: benbierens Date: Fri, 11 Aug 2023 10:16:19 +0200 Subject: [PATCH] disables grafana auth --- DistTestCore/Metrics/GrafanaContainerRecipe.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/DistTestCore/Metrics/GrafanaContainerRecipe.cs b/DistTestCore/Metrics/GrafanaContainerRecipe.cs index 5e52965..12af581 100644 --- a/DistTestCore/Metrics/GrafanaContainerRecipe.cs +++ b/DistTestCore/Metrics/GrafanaContainerRecipe.cs @@ -14,6 +14,16 @@ namespace DistTestCore.Metrics //AddExposedPortAndVar("PROM_PORT"); AddExposedPort(3000); //AddEnvVar("PROM_CONFIG", config.PrometheusConfigBase64); + + // [auth.anonymous] + // enabled = true + //GF____FILE + + AddEnvVar("GF_AUTH_ANONYMOUS_ENABLED", "true"); + AddEnvVar("GF_AUTH_DISABLE_LOGIN_FORM", "true"); + + //[auth] + //disable_login_form = true } } }