-
Notifications
You must be signed in to change notification settings - Fork 677
Expand file tree
/
Copy pathcompose.yml
More file actions
60 lines (55 loc) · 944 Bytes
/
Copy pathcompose.yml
File metadata and controls
60 lines (55 loc) · 944 Bytes
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
---
services:
db:
image: shaikmustafa/arshad:db
deploy:
replicas: 1
ports:
- "3306:3306"
networks:
- mynetwork
auth_service:
image: shaikmustafa/arshad:auth
deploy:
replicas: 1
ports:
- "5001:5001"
networks:
- mynetwork
depends_on:
- db
book_service:
image: shaikmustafa/arshad:book
deploy:
replicas: 1
ports:
- "5002:5002"
networks:
- mynetwork
depends_on:
- db
borrow_service:
image: shaikmustafa/arshad:borrow
deploy:
replicas: 1
ports:
- "5003:5003"
networks:
- mynetwork
depends_on:
- db
frontend:
image: shaikmustafa/arshad:frontend
deploy:
replicas: 1
ports:
- "5000:5000"
networks:
- mynetwork
depends_on:
- auth_service
- book_service
- borrow_service
networks:
mynetwork:
driver: bridge