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
73 lines (70 loc) · 1.31 KB
/
Copy pathcompose.yml
File metadata and controls
73 lines (70 loc) · 1.31 KB
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
---
networks:
prasanth_network:
driver: overlay
volumes:
prasanth_volume:
services:
db:
image: prasanth228/myseconrepo:dbv1
ports:
- "3306:3306"
networks:
- prasanth_network
volumes:
- prasanth_volume:/opt/prasanth/
deploy:
replicas: 1
auth_service:
image: prasanth228/myseconrepo:auth
ports:
- "5001:5001"
networks:
- prasanth_network
volumes:
- prasanth_volume:/opt/auth/
deploy:
replicas: 1
depends_on:
- db
book_service:
image: prasanth228/myseconrepo:book
ports:
- "5002:5002"
networks:
- prasanth_network
volumes:
- prasanth_volume:/opt/book/
deploy:
replicas: 1
depends_on:
- db
borrow_service:
image: prasanth228/myseconrepo:borrow
ports:
- "5003:5003"
networks:
- prasanth_network
volumes:
- prasanth_volume:/opt/borrow/
deploy:
replicas: 1
depends_on:
- db
- auth_service
- book_service
app_service:
image: prasanth228/myseconrepo:frontendv1
ports:
- "5000:5000"
networks:
- prasanth_network
volumes:
- prasanth_volume:/opt/frontend/
deploy:
replicas: 1
depends_on:
- db
- auth_service
- book_service
- borrow_service