Build Docker image for Graphite provisioned via Ansible
10K+
Build Docker image for Graphite provisioned via Ansible
docker run -d -p 80:80 -p 2003:2003 -p 2003:2003/udp -p 2004:2004 -p 7002:7002 \
mrlesmithjr/graphite
Spin-up with persistent data for Graphite:
docker run -d -p 80:80 -p 2003:2003 -p 2003:2003/udp -p 2004:2004 -p 7002:7002 \
-v $PWD/.data:/var/lib/graphite/whisper mrlesmithjr/graphite
Spin-up using docker-compose:
docker-compose up -d
docker-compose.yml
version: '2'
services:
graphite:
image: "mrlesmithjr/graphite"
ports:
- "80:80"
- "443:443"
- "2003:2003"
- "2003:2003/udp"
- "2004:2004"
- "7002:7002"
restart: "always"
volumes:
- "graphite:/var/lib/graphite/whisper"
volumes:
graphite:
Once the container is spun-up and running you can connect to http://IpOrHostname using your browser. You can now configure your remote hosts to send Graphite data to tcp/2003 on your container host IpOrHostname.
BSD
Larry Smith Jr.
Content type
Image
Digest
Size
137.8 MB
Last updated
over 8 years ago
docker pull mrlesmithjr/graphite