Add external database for grafana
This commit is contained in:
parent
fefb6ce762
commit
74e0b67828
2 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,13 @@ in
|
|||
root_url = "https://logs.le43.eu";
|
||||
serve_from_sub_path = false;
|
||||
};
|
||||
database = {
|
||||
type = "postgres";
|
||||
host = "${cfg.pgsql_host}:5432";
|
||||
name = "grafana";
|
||||
user = "grafana";
|
||||
password = "\$__file{/run/secrets/grafana/database_secret}";
|
||||
};
|
||||
auth = {
|
||||
signout_redirect_url = https://authentik.le43.eu/application/o/grafana/end-session/;
|
||||
oauth_auto_login = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue