An all-in-one image running graphite-web, carbon-cache and a whisper database.
3.0K
An all-in-one image running graphite, carbon-cache and a whisper database.
This image contains a default configuration of graphite and carbon-cache. Starting this container will, by default, bind the the following host ports:
8080: the graphite web interface2003: the carbon-cache line receiver2004: the carbon-cache pickle receiver7002: the carbon-cache query portWith this image, you can get up and running with graphite by simply running:
docker run -d schaubl/graphite
If you already have services running on the host on one or more of these ports, you may wish to allow docker to assign random ports on the host. You can do this easily by running:
docker run -p 8080 -p 2003 -p 2004 -p 7002 -d schaubl/graphite
You can log into the administrative interface of graphite-web 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.
Graphite data are stored at /var/lib/graphite/storage/whisper within the
container. If you want to store your metrics outside the container (for persistence)
you can use docker's data volumes feature.
Graphite configuration is stored at /var/lib/graphite/conf/ within the
container. If you want to provide your own persistent configuration you can
use docker's data volumes feature.
All logs are stored in /var/log/ within the container. If you want to persist them
you can use docker's data volumes feature.
For example, to:
/data/graphite on the host/conf/graphite on the host/log/graphite on the hostyou can run:
docker run --name graphite \
-v /data/graphite:/var/lib/graphite/storage/whisper \
-v /conf/graphite:/var/lib/graphite/conf/ \
-v /log/graphite:/var/log/ \
-d schaubl/graphite
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
By default, the timezone is configured to Europe/Zurich.
To change it, edit the following file in the container:
/var/lib/graphite/webapp/graphite/local_settings.py
Content type
Image
Digest
sha256:e1a832910…
Size
210.3 MB
Last updated
over 7 years ago
docker pull schaubl/graphite