No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
Dockerfile
README.md
docker-compose.yml

README.md

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.