forked from AbishekPerera/HerbCollab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
85 lines (77 loc) · 2.47 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
version: "3.9"
services:
product-service:
build: /product-service
image: product-service
container_name: product-service-server
ports:
- "8071:8071"
environment:
REACT_APP_MONGODB_URL: mongodb+srv://abhishekmongo77:[email protected]/?retryWrites=true&w=majority
REACT_APP_PORT: 8071
networks:
- hc
orderpurchase-service:
build: /orderpurchase-service
image: orderpurchase-service
container_name: orderpurchase-service-server
ports:
- "8072:8072"
environment:
REACT_APP_MONGODB_URL: mongodb+srv://abhishekmongo77:[email protected]/?retryWrites=true&w=majority
REACT_APP_PORT: 8072
networks:
- hc
ratereview-service:
build: /ratereview-service
image: ratereview-service
container_name: ratereview-service-server
ports:
- "8073:8073"
environment:
REACT_APP_MONGODB_URL: mongodb+srv://abhishekmongo77:[email protected]/?retryWrites=true&w=majority
REACT_APP_PORT: 8073
networks:
- hc
systemuser-service:
build: /systemuser-service
image: systemuser-service
container_name: systemuser-service-server
ports:
- "8084:8084"
environment:
REACT_APP_MONGODB_URL: mongodb+srv://abhishekmongo77:[email protected]/?retryWrites=true&w=majority
REACT_APP_PORT: 8084
REACT_APP_JWT_SECRET_KEY: "MyKey"
networks:
- hc
customerauth-service:
build: /customerauth-service
image: customerauth-service
container_name: customerauth-service-server
ports:
- "8075:8075"
environment:
REACT_APP_MONGODB_URL: mongodb+srv://abhishekmongo77:[email protected]/?retryWrites=true&w=majority
REACT_APP_PORT: 8075
REACT_APP_JWT_SECRET_KEY: "MyKey"
networks:
- hc
notification-service:
build: /notification-service
image: notification-service
container_name: notification-service-server
ports:
- "8079:8079"
environment:
REACT_APP_MONGODB_URL: mongodb+srv://abhishekmongo77:[email protected]/?retryWrites=true&w=majority
REACT_APP_PORT: 8079
networks:
- hc
networks:
hc:
driver: bridge
# docker compose up -d
# docker build -t herbcollab .
# docker tag herbcollab jananimaya/herbcollab
# docker tag <imagename> <dockerhubusername>/<imagename>