forked from OpenClassrooms-Student-Center/JavaPathENProject8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (45 loc) · 940 Bytes
/
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
version: '3.6'
services:
tourguide:
environment:
- PROXY_GPSUTIL=gpsutil:8081
- PROXY_REWARDCENTRAL=rewardcentral:8082
- PROXY_TRIPPRICER=trippricer:8083
build: tourguide
image: tourguide-1.0.0.jar
networks:
- default
ports:
- "8080:8080"
container_name: tourguide
depends_on:
- gpsutil
- rewardcentral
- trippricer
gpsutil:
build: gpsutil
image: gpsapi-1.0.0.jar
networks:
- default
restart: always
ports:
- "8081:8081"
container_name: gpsutil
rewardcentral:
build: rewardcentral
image: rewardcentralapi-1.0.0.jar
networks:
- default
restart: always
ports:
- "8082:8082"
container_name: rewardcentral
trippricer:
build: trippricer
image: trippricerapi-1.0.0.jar
networks:
- default
restart: always
ports:
- "8083:8083"
container_name: trippricer