-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (61 loc) · 1.47 KB
/
docker-compose.yml
File metadata and controls
67 lines (61 loc) · 1.47 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
version: '3.8'
services:
gps-microservice:
image: gps-microservice
container_name: gps-microservice
build:
context: gpsMicroservice
dockerfile: Dockerfile
ports:
- "9091:9091"
networks:
- web-server-bridge
restart: always
rewards-microservice:
image: rewards-microservice
container_name: rewards-microservice
build:
context: rewardsMicroservice
dockerfile: Dockerfile
ports:
- "9092:9092"
depends_on:
- gps-microservice
networks:
- web-server-bridge
restart: always
tripdeals-microservice:
image: tripdeals-microservice
container_name: tripdeals-microservice
build:
context: tripDealsMicroservice
dockerfile: Dockerfile
ports:
- "9093:9093"
networks:
- web-server-bridge
restart: always
tourguide:
environment:
- CLIENT_GPS_BASE_URL=http://gps-microservice:9091/gps
- CLIENT_REWARDS_BASE_URL=http://rewards-microservice:9092/rewards
- CLIENT_TRIPDEALS_BASE_URL=http://tripdeals-microservice:9093/tripDeals
image: tourguide
container_name: tourguide
ports:
- "9090:9090"
build:
context: tourGuide
dockerfile: Dockerfile
depends_on:
- gps-microservice
- rewards-microservice
- tripdeals-microservice
networks:
- web-server-bridge
restart: always
# restart: unless-stopped
# stdin_open: true
networks:
web-server-bridge:
driver: bridge