Add admin access support to Grafana w/ provided user/pass

This commit is contained in:
Ske 2018-07-21 01:22:22 +02:00
parent f50a08b50b
commit 81560eaa2c
2 changed files with 3 additions and 3 deletions

View File

@ -25,6 +25,9 @@ services:
- influx - influx
ports: ports:
- "2938:3000" - "2938:3000"
environment:
GF_SECURITY_ADMIN_USER: "${GRAFANA_USERNAME}"
GF_SECURITY_ADMIN_PASSWORD: "${GRAFANA_PASSWORD}"
restart: always restart: always
volumes: volumes:

View File

@ -4,9 +4,6 @@ instance_name = pluralkit
allow_sign_up = false allow_sign_up = false
allow_org_create = false allow_org_create = false
[auth]
disable_login_form = true
[auth.anonymous] [auth.anonymous]
enabled = true enabled = true
org_role = Viewer org_role = Viewer