-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·90 lines (86 loc) · 1.76 KB
/
docker-compose.yml
File metadata and controls
executable file
·90 lines (86 loc) · 1.76 KB
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
version: '3'
services:
jaeger:
image: jaegertracing/all-in-one:1.8
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14268:14268"
- "9411:9411"
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
networks:
mp-net:
ipv4_address: 172.18.0.6
mp-speaker:
build: ./mp-speaker
ports:
- "8080:8080"
- "5006:5006"
depends_on:
- jaeger
- db-speaker
networks:
mp-net:
ipv4_address: 172.18.0.3
links:
- jaeger
environment:
- JAEGER_AGENT_HOST=jaeger
- JAEGER_SERVICE_NAME=speaker
- JAEGER_REPORTER_LOG_SPANS=true
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLER_PARAM=1
volumes:
- ./config:/etc/mp-speaker/config
mp-subject:
build: ./mp-subject
ports:
- "8081:8080"
- "5007:5006"
depends_on:
- jaeger
- db-subject
networks:
mp-net:
ipv4_address: 172.18.0.5
links:
- jaeger
environment:
- JAEGER_AGENT_HOST=jaeger
- JAEGER_SERVICE_NAME=subject
- JAEGER_REPORTER_LOG_SPANS=true
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLER_PARAM=1
volumes:
- ./config:/etc/mp-subject/config
db-speaker:
image: mongo:4.1.5-xenial
ports:
- "27017:27017"
networks:
mp-net:
ipv4_address: 172.18.0.2
db-subject:
image: mongo:4.1.5-xenial
ports:
- "27018:27017"
networks:
mp-net:
ipv4_address: 172.18.0.4
app-web:
build: ./app-web
ports:
- "80:8080"
networks:
mp-net:
ipv4_address: 172.18.0.7
networks:
mp-net:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16