Skip to content

moritz89/docker-influxdb-grafana

 
 

Repository files navigation

Docker-compose files for a simple uptodate

InfluxDB

+ Grafana stack

+ Telegraf

Security notes

The admin user is created the first time the application is run. The password will not be updated in subsequent starts, regardless of what is set in the environment variables (secrets.grafana/influxdb). Either change them manually or delete the docker volume and all the associated data with docker volume rm *hash* or docker volume prune. Deleting the volumes requires the docker instances to be stopped.

Get the stack (only once):

git clone https://github.com/nicolargo/docker-influxdb-grafana.git
cd docker-influxdb-grafana
docker pull grafana/grafana
docker pull influxdb
docker pull telegraf

Run your stack:

docker-compose up -d

Show me the logs:

docker-compose logs

Stop it:

docker-compose stop
docker-compose rm

Update it:

git pull
docker pull grafana/grafana
docker pull influxdb
docker pull telegraf

If you want to run Telegraf, edit the telegraf.conf to yours needs and:

docker exec telegraf telegraf

About

Docker-compose files for a simple InfluxDB + Grafana stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%