-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
93 lines (93 loc) · 1.96 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '3'
services:
eureka-server:
container_name: eureka-server
build:
context: eureka-server
dockerfile: Dockerfile
image: eureka-server
expose:
- 8761
ports:
- 8761:8761
networks:
- emp-network
user-management:
container_name: user-management
build:
context: userManagement
dockerfile: Dockerfile
args:
dburl: 'jdbc:mysql://sql7.freemysqlhosting.net:3306/sql7292260'
dbuser: 'sql7292260'
dbpass: 'ldQnXLEy5M'
image: user-management
expose:
- 8088
ports:
- 8088:8088
networks:
- emp-network
links:
- eureka-server:eureka-server
depends_on:
- eureka-server
reservations:
container_name: reservations
build:
context: reservations
dockerfile: Dockerfile
args:
dburl: 'jdbc:mysql://sql7.freemysqlhosting.net:3306/sql7292260'
dbuser: 'sql7292260'
dbpass: 'ldQnXLEy5M'
image: reservations
expose:
- 8087
ports:
- 8087:8087
networks:
- emp-network
links:
- eureka-server:eureka-server
depends_on:
- eureka-server
hotel-management:
container_name: hotel-management
build:
context: hotel-management
dockerfile: Dockerfile
args:
dburl: 'jdbc:mysql://sql7.freemysqlhosting.net:3306/sql7292260'
dbuser: 'sql7292260'
dbpass: 'ldQnXLEy5M'
image: hotel-management
expose:
- 8089
ports:
- 8089:8089
networks:
- emp-network
links:
- eureka-server:eureka-server
depends_on:
- eureka-server
api-gateway:
container_name: api-gateway
build:
context: api-gateway
dockerfile: Dockerfile
image: api-gateway
expose:
- 8084
ports:
- 8084:8084
networks:
- emp-network
links:
- eureka-server:eureka-server
depends_on:
- eureka-server
networks:
emp-network:
driver: bridge