forked from ololx/spring-boot-distributed-tracing-instances
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·77 lines (71 loc) · 1.38 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
version: '3'
services:
jaeger:
container_name: jaeger
user: root
restart: always
build:
context: jaeger/
dockerfile: Dockerfile
ports:
- "6831:6831"
- "16686:16686"
volumes:
- ./local/jaeger:/jaeger
zipkin:
container_name: zipkin
user: root
restart: always
build:
context: zipkin/
dockerfile: Dockerfile
ports:
- "9411:9411"
volumes:
- ./local/zipkin:/zipkin
rabbit:
image: rabbitmq:3-management
container_name: rabbit
restart: always
hostname: rabbit
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
- RABBITMQ_DEFAULT_VHOST=/
ports:
- "15672:15672"
- "5672:5672"
service-c:
container_name: service-c
user: root
restart: always
build:
context: service-c
dockerfile: Dockerfile
ports:
- "8183:8183"
depends_on:
- rabbit
service-b:
container_name: service-b
user: root
restart: always
build:
context: service-b
dockerfile: Dockerfile
ports:
- "8181:8181"
depends_on:
- rabbit
- service-c
service-a:
container_name: service-a
user: root
restart: always
build:
context: service-a
dockerfile: Dockerfile
ports:
- "8182:8182"
depends_on:
- service-b