forked from linkerd/linkerd2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
101 lines (94 loc) · 1.95 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: '3'
services:
destination:
build:
context: .
dockerfile: controller/Dockerfile
ports:
- "8089:8089"
- "9999:9999"
volumes:
- ~/.kube/config:/kubeconfig:ro
command:
- destination
- -addr=:8089
- -metrics-addr=:9999
- -kubeconfig=/kubeconfig
tap:
build:
context: .
dockerfile: controller/Dockerfile
ports:
- "8088:8088"
- "9998:9998"
volumes:
- ~/.kube/config:/kubeconfig:ro
command:
- tap
- -addr=:8088
- -metrics-addr=:9998
- -kubeconfig=/kubeconfig
telemetry:
build:
context: .
dockerfile: controller/Dockerfile
ports:
- "8087:8087"
- "9997:9997"
volumes:
- ~/.kube/config:/kubeconfig:ro
command:
- telemetry
- -addr=:8087
- -metrics-addr=:9997
- -prometheus-url=http://prometheus:9090
- -kubeconfig=/kubeconfig
proxy-api:
build:
context: .
dockerfile: controller/Dockerfile
ports:
- "8086:8086"
- "9996:9996"
command:
- proxy-api
- -addr=:8086
- -metrics-addr=:9996
- -telemetry-addr=telemetry:8087
- -destination-addr=destination:8089
public-api:
build:
context: .
dockerfile: controller/Dockerfile
ports:
- "8085:8085"
- "9995:9995"
command:
- public-api
- -addr=:8085
- -metrics-addr=:9995
- -telemetry-addr=telemetry:8087
- -tap-addr=tap:8088
web:
build:
context: .
dockerfile: web/Dockerfile
ports:
- "8084:8084"
- "9994:9994"
command:
- -addr=:8084
- -metrics-addr=:9994
- -api-addr=public-api:8085
- -static-dir=/dist
- -template-dir=/templates
prometheus:
image: prom/prometheus:v1.8.1
ports:
- 9090:9090
volumes:
- .prometheus.dev.yml:/etc/prometheus/prometheus.yml:ro
command:
- -config.file=/etc/prometheus/prometheus.yml
- -storage.local.memory-chunks=500000
- -storage.local.retention=6h