disables grafana auth

This commit is contained in:
benbierens 2023-08-11 10:16:19 +02:00
parent 9037ddab6e
commit 79908b8a54
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
1 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,16 @@ namespace DistTestCore.Metrics
//AddExposedPortAndVar("PROM_PORT");
AddExposedPort(3000);
//AddEnvVar("PROM_CONFIG", config.PrometheusConfigBase64);
// [auth.anonymous]
// enabled = true
//GF_<SectionName>_<KeyName>__FILE
AddEnvVar("GF_AUTH_ANONYMOUS_ENABLED", "true");
AddEnvVar("GF_AUTH_DISABLE_LOGIN_FORM", "true");
//[auth]
//disable_login_form = true
}
}
}