docker-grafana-postgres

This is a simple project to install, and configure Grafana using PostgreSQL as datasource

This is a simple project using docker.

Table of contents

  1. Install
  2. Configuration
  3. Monitoring
  4. References

Install services

Download the docker-compose file:

wget https://raw.githubusercontent.com/guedim/grafana-postgres/master/docker-compose.yml

Later, start the services (Grafana and Postgresql services using docker-compose file:

docker-compose up

Configuration

Temporal

Use the /grafana/dashboard files and create the datasource the sample dashboard:

docker ps
docker exec -it GRAFANA_ID_CONTAINER  bash
./etc/extra-config/grafana/post.sh

Monitoring

For Monitoring, enter to Grafana and review the Metrix dashboard.

Open the Grafana service and user the next credentials:

  • user: admin
  • password: foobar

References