-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
59 lines (54 loc) · 1.1 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
version: "3"
services:
db-mysql:
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_PASSWORD: root
MYSQL_DATABASE: bookappdb
MYSQL_HOST: localhost
restart: always
db-mongo:
image: mongo
ports:
- "27017:27017"
environment:
MONGO_DATABASE: BookAppDB
MONGO_PORT: 27017
MONGO_HOST: localhost
restart: always
user-auth-service:
image: user-auth-service
build:
context: book-app-services/UserAuthenticationService/
depends_on:
- db-mysql
ports:
- "8084:8084"
restart: always
favourite-service:
image: favourite-service
build:
context: book-app-services/FavouriteService/
depends_on:
- db-mongo
ports:
- "8082:8082"
restart: always
recommendation-service:
image: recommendation-service
build:
context: book-app-services/RecommendationService/
depends_on:
- db-mongo
ports:
- "8083:8083"
restart: always
book-app:
image: app
build:
context: book-app/
ports:
- "7070:80"