Sign inSign up

oba11/grafana-users-manager

By oba11

•Updated over 8 years ago

Grafana Users Manager

Image
0

3.8K

oba11/grafana-users-manager repository overview

⁠Grafana Users Manager

This is a simple app to automate creating users in grafana from a config file.

⁠Building and running

⁠Docker
docker run -d -v config.yml:/src/config.yml oba11/grafana-users-manager

OR

docker run -d -v config.yml:/config/config.yml -e CONFIG_PATH=/config/config.yml oba11/grafana-users-manager

⁠Configuration

Environment variables GRAFANA_ADMIN_USERNAME and GRAFANA_ADMIN_PASSWORD must be set.

The configuration is in YAML, with an example here⁠ with grafana_root_url default to http://localhost:3000 if not specified in the configuration file.

grafana_root_url: http://localhost:3000
users:
- username: user1
  password: pass1
- username: user2
  password: pass

⁠To do

  • Update user role
  • Delete users

Tag summary

Content type

Image

Digest

Size

32.8 MB

Last updated

over 8 years ago

docker pull oba11/grafana-users-manager