-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (74 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
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
version: '3.8'
services:
api-gateway:
build:
context: ./api-gateway
ports:
- "8010:8010"
env_file:
- ./.env
depends_on:
- mongo_db
frontend:
build:
context: ./frontend
ports:
- "80:80"
env_file:
- ./.env
user-service:
build:
context: ./user-service
ports:
- "8000:8000"
env_file:
- ./.env
depends_on:
- mongo_db
matching-service:
build:
context: ./matching-service
ports:
- "8001:8001"
env_file:
- ./.env
depends_on:
- mongo_db
question-service:
build:
context: ./question-service
ports:
- "8002:8002"
env_file:
- ./.env
depends_on:
- mongo_db
collaboration-service:
build:
context: ./collaboration-service
ports:
- "8003:8003"
env_file:
- ./.env
depends_on:
- mongo_db
history-service:
build:
context: ./history-service
ports:
- "8004:8004"
env_file:
- ./.env
depends_on:
- mongo_db
mongo_db:
image: mongo
ports:
- 27018:27017
environment:
MONGO_INITDB_DATABASE: cs3219_project
volumes:
- ./mongo-seed/:/docker-entrypoint-initdb.d/
- mongo_db_vol:/data/db
volumes:
mongo_db_vol: