-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
63 lines (58 loc) · 1.29 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
version: "3.8"
services:
tempo:
image: grafana/tempo:0.6.0
command: -config.file=/etc/tempo.yaml
ports:
- "14268:14268"
volumes:
- type: bind
source: ./files/tempo.yaml
target: /etc/tempo.yaml
networks:
- oteldemo
tempo-query:
image: grafana/tempo-query:0.6.0
command: --grpc-storage-plugin.configuration-file=/etc/tempo-query.yaml
ports:
- "16686:16686"
volumes:
- type: bind
source: ./files/tempo-query.yaml
target: /etc/tempo-query.yaml
depends_on:
- tempo
networks:
- oteldemo
backend:
image: jtyr/otel-demo:backend-0.1.12
build:
dockerfile: Dockerfile.backend
context: .
environment:
BACKEND_LISTEN: 0.0.0.0:80
JAEGER_ENDPOINT: http://tempo:14268/api/traces
ports:
- "8888:80"
depends_on:
- tempo
networks:
- oteldemo
frontend:
image: jtyr/otel-demo:frontend-0.1.13
build:
dockerfile: Dockerfile.frontend
context: .
environment:
FRONTEND_LISTEN: 0.0.0.0:80
JAEGER_ENDPOINT: http://tempo:14268/api/traces
BACKEND_ENDPOINT: http://backend/api/main
ports:
- "8080:80"
depends_on:
- tempo
- backend
networks:
- oteldemo
networks:
oteldemo: