Skip to content

This repository is for building multi-container application with : InfluxDB_v2 and Grafana. This repository specifically support InfluxDB 2.x

License

Notifications You must be signed in to change notification settings

ansjin/docker-compose-influxdb-v2-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-influxdb-v2-grafana License: MIT

This repository is for building multi-container application with :

  1. InfluxDB_v2 - a time series database
  2. Grafana - for visualization of data stored in InfluxDB

This repository specifically support InfluxDB 2.x

Installation and requirements

  1. docker-compose on the docker host.

Running and stopping

Running

  1. Clone the repository
git clone https://github.com/ansjin/docker-compose-influxdb-v2-grafana.git
  1. Change default credentials stored in .env file:
INFLUXDB_USERNAME=admin
INFLUXDB_PASSWORD=secure_influx_admin_password
INFLUXDB_ORG=my_org
INFLUXDB_BUCKET=my_bucket
INFLUXDB_ADMIN_TOKEN=a_secure_admin_token

GRAFANA_USERNAME=admin
GRAFANA_PASSWORD=secure_influx_admin_password
  1. Optionally add dashboards in ./grafana-provisioning/dashboards/.
  2. Run the following command as root sudo docker-compose up -d --build

Stopping

Run the following command as root sudo docker-compose down

Quick provisioning (optional)

Run the following command as root ./run.sh

Ports Configuration

The Grafana and InfluxDB in the app are exposed on the following host ports:

Port Service
3000 Grafana
8086 InfluxDB

Working Screenshots

InfluxDB

Grafana

Help and Contribution

Please add issues if you have a question or found a problem.

Pull requests are welcome too!

Contributions are most welcome. Please message me if you like the idea and want to contribute.

About

This repository is for building multi-container application with : InfluxDB_v2 and Grafana. This repository specifically support InfluxDB 2.x

Topics

Resources

License

Stars

Watchers

Forks

Languages