Public | Automated Build

Last pushed: a year ago
Short Description
CentOS 7.2-1511 with Graphite 0.9.15 via nginx
Full Description

Graphite + Carbon

Forked from: https://github.com/steeef/dockerfiles

An all-in-one image running graphite and carbon-cache, Running on CentOS 7.2-1511
(installed from EPEL).

This image contains a sensible default configuration of graphite and
carbon-cache. Starting this container will, by default, bind the the following
host ports:

  • 80 to 30080: the graphite web interface
  • 2003 to 32003: the carbon-cache line receiver (the standard graphite protocol)
  • 2004 to 32004: the carbon-cache pickle receiver
  • 7002 to 37002: the carbon-cache query port (used by the web interface)

With this image, you can get up and running with graphite by simply running:

docker pull abezhenar/graphite-centos7

docker run -d -P -e SECRET_KEY='random-secret-key' abezhenar/graphite-centos7

or

docker run --name graphite-centos7 -d -P abezhenar/graphite-centos7

or (prefered one)

docker run --name graphite-centos7 -d -p 30080:80 -p 32003:2003 -p 32004:2004 -p 37002:7002 abezhenar/graphite-centos7

If you want to allow access to SSH, you'll also need to pass '-t' for
pseudo-tty.

You can log into the administrative interface of graphite-web (a Django
application) with the username admin and password admin. These passwords can
be changed through the web interface.

NB: Please be aware that by default docker will make the exposed ports
accessible from anywhere if the host firewall is unconfigured.

Data volumes

Graphite data is stored at /var/lib/graphite/storage/whisper within the
container. If you wish to store your metrics outside the container (highly
recommended) you can use docker's data volumes feature. For example, to store
graphite's metric database at /data/graphite on the host, you could use:

docker run -v /data/graphite:/var/lib/graphite/storage/whisper \
           -d steeef/graphite-centos

Technical details

By default, this instance of carbon-cache uses the following retention periods
resulting in whisper files of approximately 2.5MiB.

10s:8d,1m:31d,10m:1y,1h:5y
Docker Pull Command
Owner
abezhenar
Source Repository

Comments (0)