diff --git a/.env.example b/Grafana/.env.example similarity index 100% rename from .env.example rename to Grafana/.env.example diff --git a/docker-compose.yml b/Grafana/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to Grafana/docker-compose.yml diff --git a/grafana.ini b/grafana.ini new file mode 100644 index 0000000..6560ff6 --- /dev/null +++ b/grafana.ini @@ -0,0 +1,15 @@ +[auth] +oauth_auto_login = true +;#################################### Generic OAuth ########################## + +[auth.generic_oauth] +enabled = true +name = Authentik +allow_sign_up = true +client_id = Y1JPmKOgiMpf36wgfCyyEFBEGG7Kbp2C25NJkuNp +client_secret = kcqDSQYtFU3AiekxSEoKQ7onWmOJtn8DCMQFrtu4XLqtyLl22gl3KboF6uh4t19 +scopes = openid,email,read:org +auth_url = https://auth.hamik.net/application/o/authorize/ +token_url = https://auth.hamik.net/application/o/token/ +api_url = https://auth.hamik.net/application/o/userinfo/ +skip_org_role_sync=true \ No newline at end of file