-
Notifications
You must be signed in to change notification settings - Fork 221
/
docker-compose.yml
84 lines (65 loc) · 1.28 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
79
80
81
82
83
84
version: '2'
services:
app01:
build: .
app02:
build: .
app03:
build: .
command: -success-rate=0.6
app04:
build: .
app05:
build: .
app06:
build: .
app07:
build: .
app08:
build: .
command: -success-rate=0.6
app09:
build: .
app10:
build: .
app11:
build: .
app12:
build: .
app13:
build: .
command: -success-rate=0.6
app14:
build: .
app15:
build: .
linkerd:
image: buoyantio/linkerd:1.4.6
ports:
- 9990:9990
volumes:
- ./linkerd.yml:/io/buoyant/linkerd/config.yml:ro
- ./disco:/disco
command:
- "/io/buoyant/linkerd/config.yml"
prometheus:
image: prom/prometheus:v1.1.1
volumes:
- ./prometheus.yml:/prometheus/prometheus.yml:ro
command: >
-config.file=/prometheus/prometheus.yml
-storage.local.retention=12h
grafana:
build:
context: .
dockerfile: Dockerfile-grafana
ports:
- 3000:3000
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
slow_cooker:
image: buoyantio/slow_cooker:1.2.0
entrypoint: /bin/sh
command: >
-c 'sleep 15 && slow_cooker -qps 20 -concurrency 15 -interval 5s -totalRequests 10000000 http://linkerd:4140/'