1
0
Fork 0

Cleanup makefile and update readme

This commit is contained in:
Gregory Eremin 2016-07-07 21:25:43 +02:00
parent d40cd6d79c
commit e1da1f9d72
2 changed files with 5 additions and 25 deletions

View File

@ -1,29 +1,5 @@
graphite: graphite:
@echo "Building Carbon" docker-compose build .
docker build -t localhots/carbon:v1 -f Carbon.dockerfile .
@echo "Starting Carbon"
docker run -d --name carbon \
-p 2003:2003 \
-p 2004:2004 \
-p 7002:7002 \
-v /data/graphite/whisper /var/whisper \
localhots/carbon:v1
@echo "Building Brubeck"
docker build -t localhots/brubeck:v1 -f Brubeck.dockerfile .
@echo "Starting Brubeck"
docker run -d --name brubeck --link carbon:carbon \
-p 8080:8080 \
-p 8126:8126 \
-p 9126:9126 \
localhots/brubeck:v1
@echo "Building Grafana"
docker build -t localhots/grafana:v1 -f Grafana.dockerfile .
@echo "Starting Grafana"
docker run -d --name grafana --link carbon:carbon --link brubeck:brubeck \
-p 3000:3000 \
localhots/grafana:v1
fast: fast:
@echo "Graphite is fast now!" @echo "Graphite is fast now!"

View File

@ -6,12 +6,16 @@ replace original stack with other components that have
[better](https://github.com/lomik/go-carbon/tree/v0.7.2#performance) performance. [better](https://github.com/lomik/go-carbon/tree/v0.7.2#performance) performance.
Quite [impressive](https://github.com/github/brubeck/tree/5d139a4#faq). Quite [impressive](https://github.com/github/brubeck/tree/5d139a4#faq).
Reading metrics from Whisper and performing all the transformations on them is
done by [Graphite API](https://github.com/brutasse/graphite-api), a Python app.
Grafana 3 is also included. Grafana 3 is also included.
**Included software:** **Included software:**
* [go-carbon](https://github.com/lomik/go-carbon/tree/v0.7.2) `v0.7.2` * [go-carbon](https://github.com/lomik/go-carbon/tree/v0.7.2) `v0.7.2`
* [Brubeck](https://github.com/github/brubeck/tree/5d139a4) `5d139a4` * [Brubeck](https://github.com/github/brubeck/tree/5d139a4) `5d139a4`
* [Graphite API](https://github.com/brutasse/graphite-api) `latest`
* [Grafana](https://github.com/grafana/grafana/tree/v3.1.0-beta1) `v3.1.0-beta1` * [Grafana](https://github.com/grafana/grafana/tree/v3.1.0-beta1) `v3.1.0-beta1`
**Local installation:** **Local installation:**