File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ EMAIL_PASSWORD=
22
22
# # Matching service variables
23
23
MATCHING_SVC_PORT = 6969
24
24
25
+ # # Collab service variables
26
+ COLLAB_SVC_PORT = 3002
27
+ COLLAB_SVC_DB_URI =
28
+
25
29
# # Redis variables
26
30
REDIS_PORT = 6379
27
31
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import index from "./index.js";
4
4
import { Server } from "socket.io" ;
5
5
import { addMessageToChat } from "./model/repository.js" ;
6
6
7
- const PORT = process . env . PORT || 5000 ;
7
+ const PORT = process . env . PORT || 3002 ;
8
8
const server = http . createServer ( index ) ;
9
9
10
10
const io = new Server ( server , {
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ services:
70
70
build :
71
71
context : ./collab-service
72
72
ports :
73
- - 5000:5000
73
+ - $COLLAB_SVC_PORT:$COLLAB_SVC_PORT
74
74
environment :
75
- - PORT=5000
76
- # - DB_URI=$CLOUD_MONGO_URI
75
+ - PORT=$COLLAB_SVC_PORT
76
+ - DB_URI=$COLLAB_SVC_DB_URI
You can’t perform that action at this time.
0 commit comments