-
Notifications
You must be signed in to change notification settings - Fork 759
/
docker-compose.yml
78 lines (73 loc) · 1.51 KB
/
docker-compose.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '2.1'
services:
pushgateway:
image: prom/pushgateway:v0.9.1
expose:
- 9091
ports:
- "9091:9091"
prometheus:
image: prom/prometheus:v2.9.2
depends_on:
- pushgateway
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
command:
- --config.file=/etc/prometheus/prometheus.yml
expose:
- 9090
ports:
- "9090:9090"
grafana:
image: grafana/grafana:4.6.3
depends_on:
- prometheus
environment:
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
- GF_USERS_ALLOW_SIGN_UP=false
expose:
- 3000
ports:
- "3000:3000"
etcd:
image: gcr.io/etcd-development/etcd
depends_on:
- prometheus
expose:
- 2379
ports:
- "2379:2379"
command:
- etcd
- --listen-client-urls=http://0.0.0.0:2379
- --advertise-client-urls=http://0.0.0.0:2379
apiserver:
image: fagongzi/apiserver
depends_on:
- etcd
expose:
- 9093
ports:
- "9093:9093"
command:
- manba-apiserver
- --addr-http=:9093
- --addr-store=etcd://etcd:2379
proxy:
image: fagongzi/proxy
depends_on:
- etcd
- apiserver
expose:
- 80
ports:
- "80:80"
command:
- manba-proxy
- --addr=:80
- --addr-store=etcd://etcd:2379
- --metric-job=proxy
- --metric-address=pushgateway:9091
- --interval-metric-sync=5
- --js