diff options
author | Emile <hanemile@protonmail.com> | 2019-10-10 18:20:49 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-10 18:20:49 +0200 |
commit | 45836b2cfa81f604964c67af101e667b80778b83 (patch) | |
tree | 89d6be673bd75c897d578aba3a4591642bf2226f | |
parent | 177993424be35c904c74b55096081b15ee2af737 (diff) |
default grafana viewer
-rw-r--r-- | docker-compose.yml | 1 | ||||
-rw-r--r-- | grafana.ini | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 5b75a28..e51cee8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -114,6 +114,7 @@ services: container_name: "grafana" volumes: - "grafana_data:/var/lib/grafana" + - "./grafana.ini:/etc/grafana/grafana.ini" environment: - "GF_SERVER_ROOT_URL=http://grafana.docker.localhost:3000" - "GF_SECURITY_ADMIN_PASSWORD=secret" diff --git a/grafana.ini b/grafana.ini new file mode 100644 index 0000000..19d9327 --- /dev/null +++ b/grafana.ini @@ -0,0 +1,9 @@ +[auth.anonymous] +# enable anonymous access +enabled = true + +# specify organization name that should be used for unauthenticated users +org_name = anonymous + +# specify role for unauthenticated users +org_role = Viewer |