-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (45 loc) · 1.29 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
version: '3.9'
# List of services
services:
user-service: # User service configuration
build: ./backend/user-service
command: npm run dev
ports:
- ${USER_PORT}:${USER_PORT}
restart: unless-stopped
admin-service: # Admin service configuration
build: /backend/admin-service
command: npm start
ports:
- ${ADMIN_PORT}:${ADMIN_PORT}
restart: unless-stopped
product-service: # Product service configuration
build: /backend/product-service
command: npm run dev
ports:
- ${PRODUCT_PORT}:${PRODUCT_PORT}
restart: unless-stopped
order-service: # Order service configuration
build: /backend/order-service
command: npm run dev
ports:
- ${ORDER_PORT}:${ORDER_PORT}
restart: unless-stopped
email-service: # Email service configuration
build: /backend/email-service
command: npm start
ports:
- ${EMAIL_PORT}:${EMAIL_PORT}
restart: unless-stopped
sms-service: # SMS service configuration
build: /backend/sms-service
command: npm start
ports:
- ${SMS_PORT}:${SMS_PORT}
restart: unless-stopped
# frontend: # Frontend service configuration
# build: ./frontend/herbal-store
# command: npm start
# ports:
# - ${FRONTEND_PORT}:${FRONTEND_PORT}
# restart: unless-stopped