miroir de
https://github.com/PAPAMICA/Wiki-Tech.io.git
synchronisé 2024-10-02 12:36:16 +02:00
docs: update Grafana/Installation
Cette révision appartient à :
Parent
0def14399b
révision
516965e9d8
1 fichiers modifiés avec 16 ajouts et 6 suppressions
|
@ -2,7 +2,7 @@
|
|||
title: Installation
|
||||
description: Mise en place de Grafana sous Docker !
|
||||
published: true
|
||||
date: 2021-05-02T08:23:08.608Z
|
||||
date: 2021-05-09T09:10:53.879Z
|
||||
tags:
|
||||
editor: ckeditor
|
||||
dateCreated: 2021-05-02T08:23:06.971Z
|
||||
|
@ -13,3 +13,13 @@ dateCreated: 2021-05-02T08:23:06.971Z
|
|||
<h1>Configuration</h1>
|
||||
<h2>Ajouter une base de données</h2>
|
||||
<h2>Connexion avec Keycloak</h2>
|
||||
<pre><code class="language-plaintext">- GF_AUTH_GENERIC_OAUTH_ENABLED=true
|
||||
- GF_AUTH_GENERIC_OAUTH_SCOPES=email
|
||||
- GF_AUTH_GENERIC_OAUTH_NAME=<NAME>
|
||||
- GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP=true
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_ID=grafana
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET=<CLIENT_SECRET>
|
||||
- GF_AUTH_GENERIC_OAUTH_AUTH_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/auth
|
||||
- GF_AUTH_GENERIC_OAUTH_TOKEN_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/token
|
||||
- GF_AUTH_GENERIC_OAUTH_API_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/userinfo
|
||||
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'</code></pre>
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket