-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (55 loc) · 1.59 KB
/
docker-compose.yml
File metadata and controls
68 lines (55 loc) · 1.59 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
---
version: '3'
services:
api:
build: api
environment:
- IP=172.2.1.2
volumes:
- ./api/:/var/project/api/
networks:
group1:
ipv4_address: 172.2.1.2
ports:
- "5000:5000"
- "201:22"
loadbalancer:
image: opentracing/nginx-opentracing
ports:
- "8080:8080"
- "203:22"
volumes:
- ./loadbalancer/api.conf:/etc/nginx/nginx.conf
- ./loadbalancer/jaeger-config.json:/etc/jaeger-config.json
networks:
group1:
ipv4_address: 172.2.1.3
client:
build: client
environment:
- LB_IP=172.2.1.3
ports:
- "202:22"
networks:
group1:
ipv4_address: 172.2.1.4
jaeger:
image: jaegertracing/all-in-one
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
networks:
group1:
ipv4_address: 172.2.1.5
#this ip is hardcoded in api code
expose:
- "9411"
- "16686"
ports:
- "9411:9411"
- "16686:16686"
networks:
group1:
ipam:
driver: default
config:
- subnet: 172.2.0.0/16