-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
73 lines (64 loc) · 1.29 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.3'
services:
base:
image: bee-travels/node-base:v1
build: .
jaeger:
image: jaegertracing/all-in-one:1.7
ports:
- "6831:6831/udp"
- "6832:6832/udp"
- "16686:16686"
prometheus:
image: prom/prometheus
restart: always
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
grafana:
image: grafana/grafana
restart: always
ports:
- 3000:3000
ui:
build: services/ui
ports:
- "9000:9000"
depends_on:
- base
- destination
- hotel
- car-rental
- currency-exchange
environment:
- NODE_ENV=production
- DESTINATION_URL=http://destination:9001
- HOTEL_URL=http://hotel:9101
- CAR_URL=http://car-rental:9102
- CURRENCY_EXCHANGE_URL=http://currency-exchange:9201
destination:
build: services/destination-v1
ports:
- "9001:9001"
depends_on:
- base
hotel:
build: services/hotel-v1
ports:
- "9101:9101"
depends_on:
- base
car-rental:
build: services/car-rental-v1
ports:
- "9102:9102"
depends_on:
- base
currency-exchange:
build: services/currency-exchange
ports:
- "9201:9201"
depends_on:
- base