-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
76 lines (68 loc) · 1.84 KB
/
docker-compose.yaml
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
version: "3.8"
services:
envoy-front:
build: "$PWD/envoy-front/"
ports:
- "127.0.0.1:80:80"
volumes:
- "$PWD/envoy-front/etc:/etc/envoy"
- "$PWD/promtail/log/access-envoy-front.log:/dev/stdout"
environment:
- SERVICE_NAME=envoy-front
envoy-sidecar-1:
build: "$PWD/envoy-sidecar-1/"
volumes:
- "$PWD/envoy-sidecar-1/etc:/etc/envoy"
- "$PWD/promtail/log/access-envoy-sidecar-1.log:/dev/stdout"
environment:
- SERVICE_NAME=envoy-sidecar-1
envoy-sidecar-2:
build: "$PWD/envoy-sidecar-2/"
volumes:
- "$PWD/envoy-sidecar-2/etc:/etc/envoy"
- "$PWD/promtail/log/access-envoy-sidecar-2.log:/dev/stdout"
environment:
- SERVICE_NAME=envoy-sidecar-2
grafana:
image: "grafana/grafana:7.5.5"
user: "root"
ports:
- "127.0.0.1:3000:3000"
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
volumes:
- "$PWD/grafana/data:/var/lib/grafana"
- "$PWD/grafana/etc:/etc/grafana"
loki:
image: "grafana/loki:2.2.1"
volumes:
- "$PWD/loki/etc:/etc/loki"
- "$PWD/loki/data:/loki/tmp"
prometheus:
image: "prom/prometheus:v2.26.0"
user: "root"
ports:
- "127.0.0.1:9090:9090"
volumes:
- "$PWD/prometheus/etc:/etc/prometheus"
- "$PWD/prometheus/data:/prometheus"
promtail:
image: "grafana/promtail:2.2.1"
volumes:
- "$PWD/promtail/log:/var/log"
zipkin:
image: "openzipkin/zipkin:2.23"
ports:
- "127.0.0.1:9411:9411"
flask-app-1:
build: "$PWD/flask-app-1/"
flask-app-2:
build: "$PWD/flask-app-2/"
blackbox:
image: "prom/blackbox-exporter:v0.18.0"
ports:
- "127.0.0.1:9115:9115"
volumes:
- "$PWD/blackbox/etc:/etc/blackbox_exporter"