Created
February 7, 2018 04:33
-
-
Save imkarthikk/4522c84527a58c0f5c7ba3b2121f5a51 to your computer and use it in GitHub Desktop.
Grafana + InfluxDB + Docker for real-time dashboards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Get a Grafana instance up and running with persistent storage | |
### Grafana Dockerfile | |
### Create a storage: | |
docker run -d -v /var/lib/grafana --name grafana-storage busybox:latest | |
### Run Grafana | |
docker run \ | |
-d \ | |
-p 3000:3000 \ | |
--name=grafana \ | |
--volumes-from grafana-storage \ | |
-e "GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource,briangann-gauge-panel" \ | |
-e "GF_USERS_ALLOW_SIGN_UP=false" \ | |
-e "GF_USERS_ALLOW_ORG_CREATE=false" \ | |
grafana/grafana |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment