forked from devops0014/python-code-library-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
42 lines (42 loc) · 776 Bytes
/
Copy pathcompose.yml
File metadata and controls
42 lines (42 loc) · 776 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
---
services:
db:
image: mailcheck571/first:db
ports:
- "3306:3306"
deploy:
replicas: 1
auth_service:
image: mailcheck571/authimage:auth_service
ports:
- "5001:5001"
deploy:
replicas: 1
depends_on:
- db
book_service:
image: mailcheck571/bookimage:book_service
ports:
- "5002:5002"
deploy:
replicas: 1
depends_on:
- db
borrow_service:
image: mailcheck571/borrowimage:borrow_service
ports:
- "5003:5003"
deploy:
replicas: 1
depends_on:
- db
app_service:
image: mailcheck571/appimage:app_service
ports:
- "5000:5000"
deploy:
replicas: 1
depends_on:
- auth_service
- book_service
- borrow_service