This repository was archived by the owner on Oct 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (56 loc) · 1.29 KB
/
docker-compose.yml
File metadata and controls
56 lines (56 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '2'
services:
# Go Carbon (Carbon replacement)
# Takes care of writing metrics to database and data retention
carbon:
image: carbon:v1
build:
dockerfile: Carbon.dockerfile
context: .
ports:
- '2003:2003/udp'
- '2004:2004/udp'
- '7002:7002'
volumes:
- /data/graphite/whisper:/data/graphite/whisper
- /graphite-config
# Brubeck (StatsD replacement)
# Aggregates metrics before sending them to Carbon
brubeck:
image: brubeck:v1
build:
dockerfile: Brubeck.dockerfile
context: .
ports:
- '8090:8090'
- '8126:8126/udp'
- '9126:9126/udp'
depends_on:
- carbon
# 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
grafana:
image: grafana:v1
build:
dockerfile: Grafana.dockerfile
context: .
ports:
- '3000:3000'
depends_on:
- graphite-api