disables grafana auth
This commit is contained in:
parent
9037ddab6e
commit
79908b8a54
|
@ -14,6 +14,16 @@ namespace DistTestCore.Metrics
|
||||||
//AddExposedPortAndVar("PROM_PORT");
|
//AddExposedPortAndVar("PROM_PORT");
|
||||||
AddExposedPort(3000);
|
AddExposedPort(3000);
|
||||||
//AddEnvVar("PROM_CONFIG", config.PrometheusConfigBase64);
|
//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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue