File tree Expand file tree Collapse file tree 5 files changed +15
-19
lines changed
Expand file tree Collapse file tree 5 files changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ MATCHING_SERVICE_NAME=match-express
1717MATCHING_EXPRESS_PORT = 9004
1818MATCHING_DB_USERNAME = " peerprep-match-express"
1919MATCHING_DB_PASSWORD = " password"
20- MATCHING_DB_HOST_PORT = 6379
20+ MATCHING_DB_HOST_PORT = 6378
2121MATCHING_DB_HOST_MGMT_PORT = 3001
2222
2323FRONTEND_SERVICE_NAME = frontend
Original file line number Diff line number Diff line change 55
66EXPRESS_PORT=9004
77
8- MATCHING_DB_USERNAME=peerMatc
9- MATCHING_DB_PASSWORD=iZnm6K5k
10- REDIS_ARGS="--requirepass iZnm6K5k --user peerMatc on >iZnm6K5k ~* allcommands --user default off nopass nocommands"
11-
8+ MATCHING_DB_USERNAME="peerprep-match-express"
9+ MATCHING_DB_PASSWORD="G7jBgyz9wGAFQ5La"
10+ REDIS_ARGS="--requirepass G7jBgyz9wGAFQ5La --user ${MATCHING_DB_USERNAME} on >G7jBgyz9wGAFQ5La ~* allcommands --user default off nopass nocommands"
Original file line number Diff line number Diff line change @@ -2,13 +2,12 @@ PEERPREP_UI_HOST=http://host.docker.internal:5173
22
33EXPRESS_PORT=9004
44
5- MATCHING_DB_HOSTNAME=host.docker.internal
6- MATCHING_DB_PORT=6379
7-
85PEERPREP_USER_HOST=http://host.docker.internal:9001
96PEERPREP_QUESTION_HOST=http://host.docker.internal:9002
107PEERPREP_COLLAB_HOST=http://host.docker.internal:9003
118
12- MATCHING_DB_USERNAME=peerMatc
13- MATCHING_DB_PASSWORD=iZnm6K5k
14- REDIS_ARGS="--requirepass iZnm6K5k --user peerMatc on >iZnm6K5k ~* allcommands --user default off nopass nocommands"
9+ MATCHING_DB_HOSTNAME=host.docker.internal
10+ MATCHING_DB_PORT=6378
11+
12+ MATCHING_DB_USERNAME=peerprep-match-express
13+ MATCHING_DB_PASSWORD=G7jBgyz9wGAFQ5La
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ PEERPREP_UI_HOST=http://localhost:5173
22
33EXPRESS_PORT = 9004
44
5- MATCHING_DB_HOSTNAME = localhost
6- MATCHING_DB_PORT = 6379
7-
85PEERPREP_USER_HOST = http://localhost:9001
96PEERPREP_QUESTION_HOST = http://localhost:9002
107PEERPREP_COLLAB_HOST = http://localhost:9003
118
12- MATCHING_DB_USERNAME = peerMatc
13- MATCHING_DB_PASSWORD = iZnm6K5k
14- REDIS_ARGS = " --requirepass iZnm6K5k --user peerMatc on >iZnm6K5k ~* allcommands --user default off nopass nocommands"
9+ MATCHING_DB_HOSTNAME = localhost
10+ MATCHING_DB_PORT = 6378
11+
12+ MATCHING_DB_USERNAME = " peerprep-match-express"
13+ MATCHING_DB_PASSWORD = " G7jBgyz9wGAFQ5La"
14+ REDIS_ARGS = " --requirepass G7jBgyz9wGAFQ5La --user ${ MATCHING_DB_USERNAME } on >G7jBgyz9wGAFQ5La ~* allcommands --user default off nopass nocommands"
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ export const DB_HOSTNAME = process.env.MATCHING_DB_HOSTNAME;
1212export const DB_PORT = Number . parseInt ( process . env . MATCHING_DB_PORT ?? '6379' ) ;
1313export const DB_USERNAME = process . env . MATCHING_DB_USERNAME ;
1414export const DB_PASSWORD = process . env . MATCHING_DB_PASSWORD ;
15- // export const DB_URL = `redis://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOSTNAME}:${DB_PORT}`;
16- // export const DB_URL = `redis://${DB_HOSTNAME}:${DB_PORT}`;
1715
1816export const NODE_ENV = process . env . NODE_ENV ;
1917
You can’t perform that action at this time.
0 commit comments