Sign inSign up

mrlesmithjr/graphite

By mrlesmithjr

•Updated over 8 years ago

Build Docker image for Graphite provisioned via Ansible

Image
0

10K+

mrlesmithjr/graphite repository overview

⁠Repo Info

Build Docker⁠ image for Graphite⁠ provisioned via Ansible⁠

⁠Consuming

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.

⁠License

BSD

⁠Author Information

Larry Smith Jr.

Tag summary

Content type

Image

Digest

Size

137.8 MB

Last updated

over 8 years ago

docker pull mrlesmithjr/graphite