1
0
Fork 0
graphite-ish/docker-compose.yml

57 lines
1.3 KiB
YAML
Raw Normal View History

2016-07-07 11:04:47 +00:00
version: '2'
services:
2016-07-07 19:20:45 +00:00
# Go Carbon (Carbon replacement)
# Takes care of writing metrics to database and data retention
2016-07-07 11:04:47 +00:00
carbon:
image: carbon:v1
build:
dockerfile: Carbon.dockerfile
context: .
ports:
- '2003:2003/udp'
- '2004:2004/udp'
- '7002:7002'
2016-07-07 11:04:47 +00:00
volumes:
2016-07-25 12:49:49 +00:00
- /data/graphite/whisper:/data/graphite/whisper
2016-07-07 19:20:45 +00:00
- /graphite-config
# Brubeck (StatsD replacement)
# Aggregates metrics before sending them to Carbon
2016-07-07 11:04:47 +00:00
brubeck:
image: brubeck:v1
build:
dockerfile: Brubeck.dockerfile
context: .
ports:
- '8090:8090'
- '8126:8126/udp'
- '9126:9126/udp'
2016-07-07 11:04:47 +00:00
depends_on:
- carbon
2016-07-07 19:20:45 +00:00
# Graphite API (yep, almost original Graphite Web)
# Provides API for reading metrics
graphite-api:
image: brutasse/graphite-api:latest
build:
context: https://github.com/brutasse/graphite-api.git
environment:
BIND_ADDRESS: 0.0.0.0
PORT: 8000
GRAPHITE_API_CONFIG: /graphite-config/graphite-api.yml
ports:
- '8080:8000'
volumes_from:
- carbon
depends_on:
- carbon
# Grafana
# Metrics dashboard
2016-07-07 11:04:47 +00:00
grafana:
image: grafana:v1
build:
dockerfile: Grafana.dockerfile
context: .
ports:
- '3000:3000'
2016-07-07 11:04:47 +00:00
depends_on:
2016-07-07 19:20:45 +00:00
- graphite-api