-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
73 lines (67 loc) · 1.55 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
version: '3.7'
services:
logger:
image: jaegertracing/all-in-one:latest
container_name: jaeger
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14268:14268"
- "9411:9411"
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: "user"
RABBITMQ_DEFAULT_PASS: "password"
healthcheck:
test: "rabbitmqctl status | grep -q 'running'"
interval: 5s
timeout: 5s
retries: 3
proxy:
container_name: proxy
build:
context: proxy/.
dockerfile: Dockerfile
environment:
- JAEGER_AGENT_HOST=jaeger
- JAEGER_AGENT_PORT=6831
- JAEGER_SERVICE_NAME=jaeger-proxy
ports:
- "8080:8080"
account:
container_name: account
build:
context: account/.
dockerfile: Dockerfile
environment:
- JAEGER_AGENT_HOST=jaeger
- JAEGER_AGENT_PORT=6831
- JAEGER_SERVICE_NAME=jaeger-account
booking:
container_name: booking
build:
context: booking/.
dockerfile: Dockerfile
environment:
- JAEGER_AGENT_HOST=jaeger
- JAEGER_AGENT_PORT=6831
- JAEGER_SERVICE_NAME=jaeger-booking
- AMQP_ADDR=rabbitmq
batch:
container_name: batch
build:
context: batch/.
dockerfile: Dockerfile
environment:
- JAEGER_AGENT_HOST=jaeger
- JAEGER_AGENT_PORT=6831
- JAEGER_SERVICE_NAME=jaeger-batch
- AMQP_ADDR=rabbitmq