-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
53 lines (48 loc) · 1.16 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
services:
question-service:
build:
context: ./Backend/QuestionService
dockerfile: Dockerfile
ports:
- "3001:3001"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
interval: 10s
timeout: 5s
retries: 5
user-service:
build:
context: ./Backend/user-service
dockerfile: Dockerfile
ports:
- "3002:3002"
collab-service:
build:
context: ./Backend/CollabService
dockerfile: Dockerfile
ports:
- "3004:3004" # change the first port number xxxx:3004 to suit your needs
- "1234:1234"
history-service:
build:
context: ./Backend/HistoryService
dockerfile: Dockerfile
ports:
- "3005:3005" # change the first port number xxxx:3004 to suit your needs
matching-service:
build:
context: ./Backend/MatchingService
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
- QUESTION_SERVICE_HOST=question-service
depends_on:
question-service:
condition: service_healthy
frontend:
build:
context: ./Frontend
dockerfile: Dockerfile
ports:
- "3000:3000"