September 2018
Intermediate to advanced
412 pages
11h 12m
English
Grafana is available in two versions, one for running in a cloud and the other for running locally.
To run the tool locally, use the following command:
docker run -it --rm --name=grafana -p 3000:3000 -e "GF_SECURITY_ADMIN_PASSWORD=secret" -e "GF_SMTP_ENABLED=true" -e "GF_SMTP_HOST=smtp.gmail.com:587" -e "GF_SMTP_USER=username@gmail.com" -e "GF_SMTP_PASSWORD=" -e "GF_SMTP_FROM_ADDRESS=username@gmail.com" -v ~/grafana:/var/lib/grafana grafana/grafana
After that, you can open Grafana, pasting the following URL in the browser: http://localhost:3000.
To sign in, type admin in the User field ...