From 6ef45b9011f1e87f0b1a6aca8e4f56effdcb1a36 Mon Sep 17 00:00:00 2001 From: otthorn Date: Tue, 23 Mar 2021 00:11:01 +0100 Subject: [PATCH] hotfix element and add local modif for grafana --- element/config.json | 11 ++++++----- grafana/Dockerfile | 7 ++++++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/element/config.json b/element/config.json index fc1e8f0..5222b38 100644 --- a/element/config.json +++ b/element/config.json @@ -15,11 +15,12 @@ "brand": "Riot", "branding": { "welcomeBackgroundUrl": "/background.jpg", - "authHeaderLogoUrl": :"/logo.png", - "authFooterLinks": [ - {"text": "Site Web", "url": "https://auro.re"}, - {"text": "Intranet", "url": "https://intranet.auro.re"}, - {"text": "Email support", "url": "mailto:support.aurore@lists.crans.org"} + "authHeaderLogoUrl": "/logo.png", + "authFooterLinks": [ + {"text": "Site Web", "url": "https://auro.re"}, + {"text": "Intranet", "url": "https://intranet.auro.re"}, + {"text": "Email support", "url": "mailto:support.aurore@lists.crans.org"} + ] }, "integrations_ui_url": "", "integrations_rest_url": "", diff --git a/grafana/Dockerfile b/grafana/Dockerfile index 681c7f3..75a7799 100644 --- a/grafana/Dockerfile +++ b/grafana/Dockerfile @@ -9,6 +9,11 @@ ENV GF_USERS_ALLOW_ORG_CREATE=false ENV GF_AUTH_BASIC_ENABLED=false ENV GF_AUTH_LDAP_ENABLED=true ENV GF_AUTH_LDAP_CONFIG_FILE=/etc/grafana/ldap.toml +ENV GF_DATABASE_TYPE=postgres +ENV GF_DATABASE_HOST=10.128.0.96 +ENV GF_DATABASE_USER=grafana +ENV GF_DATABASE_NAME=grafana +ENV GF_SECURITY_DISABLE_INITIAL_ADMIN_CREATION=true +ENV GF_DISABLE_GRAVATAR=true COPY ldap.toml /etc/grafana/ldap.toml -