Multi-container Docker app built from the following services:
For development purposes, volumes are purposely commented. If you wish to enable persistence, enable uncomment the required volumes. on docker-compose.yml
file
Two admin users are provisioned, one for InfluxDB and one for Grafana. By default, the username of both accounts is admin
and password is defined to localtestsonly
to enforce the purpose of a test environment. To override the default credentials, set the following environment variables on .env
file before starting the app
Default InfluxDB database called cloudflare
.
By default, datasource InfluxDB
will be provisioned to connected to the default IndfluxDB database. if you wish to change any value you must edit grafana/datasource/datasources.yaml
file
Default dashboard is installed during the startup process, file location can be found under grafana/datasource/
.
Important note: Before using the dashboard, go to dashboard settings/variables
and click on update to refresh the domain list.
Currently grafana-worldmap-panel
will be installed as dependency of the dashboard. If you with to install more plugins update .env
file variable GRAFANA_PLUGINS
with the desired plugins separated by comma.
-
Install docker-compose on the docker host.
-
Clone this repo on the docker host.
-
Optionally, change default credentials or Grafana provisioning.
-
Run the following command from the root of the cloned repo:
docker-compose up -d
To stop the app:
- Run the following command from the root of the cloned repo:
docker-compose down
Still in progress.
Exported ports:
Host Port | Service |
---|---|
3000 | Grafana |
8086 | InfluxDB |