-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
74 lines (65 loc) · 1.39 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
version: "3"
services:
gateway_api:
build: ./APIs/api_gateway/.
command: npm start
ports:
- "3000:3000"
volumes:
- .:/usr/breakdown/api_gateway
depends_on:
- commit_api
- issue_api
- pullrequest_api
- branch_api
- ranking_api
- profile_api
links:
- commit_api
- issue_api
- pullrequest_api
- branch_api
- ranking_api
- profile_api
commit_api:
build: ./APIs/commits_request/.
command: npm start
ports:
- "3001:3001"
volumes:
- .:/usr/breakdown/commits_request
issue_api:
build: ./APIs/issues_request/.
command: npm start
ports:
- "3002:3002"
volumes:
- .:/usr/breakdown/issues_request
pullrequest_api:
build: ./APIs/pullrequests_request/.
command: npm start
ports:
- "3003:3003"
volumes:
- .:/usr/breakdown/pullrequests_request
branch_api:
build: ./APIs/branches_request/.
command: npm start
ports:
- "3004:3004"
volumes:
- .:/usr/breakdown/branches_request
ranking_api:
build: ./APIs/ranking_request/.
command: npm start
ports:
- "3005:3005"
volumes:
- .:/usr/breakdown/ranking_request
profile_api:
build: ./APIs/profile_request/.
command: npm start
ports:
- "3006:3006"
volumes:
- .:/usr/breakdown/profile_request