Skip to content

Commit ee63a77

Browse files
committed
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-project-g16 into PEER-214
Signed-off-by: SeeuSim <[email protected]>
2 parents 27442b2 + ba41a4a commit ee63a77

File tree

3 files changed

+7319
-11562
lines changed

3 files changed

+7319
-11562
lines changed

docker-compose.local.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ services:
3030
- "${QUESTION_EXPRESS_DB_PORT}:5432"
3131
restart: unless-stopped
3232

33+
<<<<<<< HEAD
3334
collab-db:
3435
hostname: "collab-db"
3536
image: postgres:16.4
@@ -43,6 +44,8 @@ services:
4344
- "${COLLAB_EXPRESS_DB_PORT}:5432"
4445
restart: unless-stopped
4546

47+
=======
48+
>>>>>>> ba41a4a2223602ec532fc1d08a3b632e0ca698cd
4649
match-db:
4750
hostname: "match-db"
4851
image: redis/redis-stack
@@ -55,13 +58,29 @@ services:
5558
- "${MATCHING_DB_HOST_MGMT_PORT}:8001"
5659
- "${MATCHING_DB_HOST_PORT}:6379"
5760
restart: unless-stopped
61+
<<<<<<< HEAD
62+
=======
63+
64+
# match-db-ui:
65+
# hostname: "match-db-ui"
66+
# image: redis/redisinsight
67+
# container_name: "match-db-ui"
68+
# ports:
69+
# - "${MATCHING_DB_HOST_MGMT_PORT}:5540"
70+
# restart: unless-stopped
71+
>>>>>>> ba41a4a2223602ec532fc1d08a3b632e0ca698cd
5872

5973
volumes:
6074
user-db-docker:
6175
external: true
6276
question-db-docker:
6377
external: true
78+
<<<<<<< HEAD
6479
collab-db-docker:
6580
external: true
6681
match-db-docker:
67-
external: true
82+
external: true
83+
=======
84+
match-db-docker:
85+
external: true
86+
>>>>>>> ba41a4a2223602ec532fc1d08a3b632e0ca698cd

docker-compose.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ services:
162162
restart: true
163163
networks:
164164
- collab-db-network
165-
- collab-ws-network
165+
- collab-api-network
166166
healthcheck:
167167
test: wget --no-verbose --tries=1 --spider http://localhost:${COLLAB_EXPRESS_PORT}/health || exit 1
168168
interval: 30s
@@ -193,7 +193,7 @@ services:
193193
- match-db-network
194194
- match-api-network
195195
- question-api-network
196-
# - collab-api-network
196+
- collab-api-network
197197
healthcheck:
198198
test: wget --no-verbose --tries=1 --spider http://localhost:${MATCHING_EXPRESS_PORT}/health || exit 1
199199
interval: 30s
@@ -233,7 +233,7 @@ services:
233233
networks:
234234
- user-api-network
235235
- question-api-network
236-
- collab-ws-network
236+
- collab-api-network
237237
- match-api-network
238238

239239
volumes:
@@ -242,6 +242,7 @@ volumes:
242242
external: true
243243
question-db-docker:
244244
external: true
245+
# Collab WS Server
245246
collab-db-docker:
246247
external: true
247248
# Redis Match server
@@ -266,5 +267,5 @@ networks:
266267
driver: bridge
267268
match-api-network:
268269
driver: bridge
269-
collab-ws-network:
270+
collab-api-network:
270271
driver: bridge

0 commit comments

Comments
 (0)