2016-07-06 19:51:48 +00:00
|
|
|
graphite:
|
2016-07-07 08:55:40 +00:00
|
|
|
@echo "Building Carbon"
|
2016-07-06 19:53:35 +00:00
|
|
|
docker build -t localhots/carbon:v1 -f Carbon.dockerfile .
|
2016-07-07 08:55:40 +00:00
|
|
|
@echo "Starting Carbon"
|
2016-07-06 19:51:48 +00:00
|
|
|
docker run -d --name carbon \
|
|
|
|
-p 2003:2003 \
|
|
|
|
-p 2004:2004 \
|
|
|
|
-p 7002:7002 \
|
2016-07-07 08:55:40 +00:00
|
|
|
-v /data/graphite/whisper /var/whisper \
|
2016-07-06 19:51:48 +00:00
|
|
|
localhots/carbon:v1
|
2016-07-07 08:55:40 +00:00
|
|
|
|
|
|
|
@echo "Building Brubeck"
|
|
|
|
docker build -t localhots/brubeck:v1 -f Brubeck.dockerfile .
|
|
|
|
@echo "Starting Brubeck"
|
2016-07-06 19:51:48 +00:00
|
|
|
docker run -d --name brubeck --link carbon:carbon \
|
|
|
|
-p 8080:8080 \
|
|
|
|
-p 8126:8126 \
|
|
|
|
-p 9126:9126 \
|
|
|
|
localhots/brubeck:v1
|
2016-07-06 19:59:26 +00:00
|
|
|
|
2016-07-07 08:55:40 +00:00
|
|
|
@echo "Building Grafana"
|
|
|
|
docker build -t localhots/grafana:v1 -f Grafana.dockerfile .
|
2016-07-07 11:04:10 +00:00
|
|
|
@echo "Starting Grafana"
|
2016-07-07 08:55:40 +00:00
|
|
|
docker run -d --name grafana --link carbon:carbon --link brubeck:brubeck \
|
|
|
|
-p 3000:3000 \
|
2016-07-07 11:04:10 +00:00
|
|
|
localhots/grafana:v1
|
2016-07-07 08:55:40 +00:00
|
|
|
|
2016-07-06 19:59:26 +00:00
|
|
|
fast:
|
|
|
|
@echo "Graphite is fast now!"
|
|
|
|
|
|
|
|
again:
|