Skip to content
Docker files for running Gnocchi
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
base
collectd
gnocchi
grafana
prometheus
.mergify.yml
.travis.yml
README.rst
build-base-images.sh
devel.env
docker-compose-host.yaml
docker-compose-prom.yaml
docker-compose.yaml

README.rst

Gnocchi on Docker

This repository contains Dockerfiles and a docker-compose scenario that can be used to build an image of Gnocchi latest version and run a small cluster of it.

The compose instance is made of:

  • A container running Gnocchi
  • A container running PostgreSQL (indexer)
  • A container running Redis (storage)
  • A container running Grafana
  • A container running collectd

To run it simply type:

$ ./build-base-images.sh # Build base images (only once)
$ docker-compose up

And it will start all those containers in the right order. Once started, you can point your browser at http://<ip of docker>:3000 to access Grafana. The default username is "admin" and password is "password".

Devel

To run master branches of Gnocchi, collectd-gnocchi, grafana-gnocchi-datasource, run:

$ source devel.env
$ ./build-base-images.sh # Build base images (only once)
$ docker-compose build --no-cache --force-rm  # To force rebuild image from source
$ docker-compose up
You can’t perform that action at this time.