1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/graphite
2017-03-11 18:31:59 +08:00
..
docker-compose.yml update graphite 2017-03-11 18:31:59 +08:00
Dockerfile add graphite 2017-03-11 18:05:03 +08:00
README.md update graphite 2017-03-11 18:31:59 +08:00
supervisord.conf add graphite 2017-03-11 18:05:03 +08:00

graphite

Graphite does three things:

  • Kick ass.
  • Chew bubblegum.
  • Make it easy to store and graph metrics.

docker-compose.yml

graphite:
  image: vimagick/graphite
  ports:
    - 2003:2003
    - 2004:2004
    - 7002:7002
    - 8080:8080
    - 9001:9001
  volumes:
    - ./data:/opt/graphite/storage
  restart: always

Up and Running

$ cd ~/fig/graphite
$ mkdir -p data/log/webapp
$ docker-compose up -d
>>> python webapp/manage.py migrate --run-syncdb --noinput
>>> exit
$ tree -F -L 2
├── data/
│   ├── carbon-cache-a.pid
│   ├── graphite.db
│   ├── log/
│   └── whisper/
└── docker-compose.yml
$ curl http://localhost:8080