This is a modified version of nickstenning/graphite that works with the latest version of docker (0.8.1) and supports setting the django SECRET_KEY via environment variable.
1.2K
80 - nginx proxy to graphite2003 - carbon-cache line receiver2004 - carbon-cache pickle receiver7002 - carbon-cache query port/opt/graphite/storage/whisper - Whisper data file directory
It is recommended that you keep your whisper data files stored on your host system outside of the docker container.
Default docker build example:
docker build -rm -t bnotions/graphite .
Default docker run example:
docker run -d bnotions/graphite
Publish all ports from container (docker will handle port mapping)
docker run -P -e SECRET_KEY='random-secret-key' -d bnotions/graphite
Publish all ports from container to host (manual port mapping)
docker run -p 80:80 -p 2003:2003 -p 2004:2004 -p 7002:7002 -e SECRET_KEY='random-secret-key' -d bnotions/graphite
Mount data volume from host for whisper data storage
docker run -v /data/graphite:/opt/graphite/storage/whisper -e SECRET_KEY='random-secret-key' -d bnotions/graphite
Publish all ports to host and mount data volume from host
docker run -p 80:80 -p 2003:2003 -p 2004:2004 -p 7002:7002 -v /data/graphite:/opt/graphite/storage/whisper -e SECRET_KEY='random-secret-key' -d bnotions/graphite
admin:adminContent type
Image
Digest
sha256:76023d4b6…
Size
101.4 MB
Last updated
almost 11 years ago
docker pull bnotions/graphite