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
17
17
MATCHING_EXPRESS_PORT = 9004
18
18
MATCHING_DB_USERNAME = " peerprep-match-express"
19
19
MATCHING_DB_PASSWORD = " password"
20
- MATCHING_DB_HOST_PORT = 6379
20
+ MATCHING_DB_HOST_PORT = 6378
21
21
MATCHING_DB_HOST_MGMT_PORT = 3001
22
22
23
23
FRONTEND_SERVICE_NAME = frontend
Original file line number Diff line number Diff line change 5
5
6
6
EXPRESS_PORT=9004
7
7
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
2
2
3
3
EXPRESS_PORT=9004
4
4
5
- MATCHING_DB_HOSTNAME=host.docker.internal
6
- MATCHING_DB_PORT=6379
7
-
8
5
PEERPREP_USER_HOST=http://host.docker.internal:9001
9
6
PEERPREP_QUESTION_HOST=http://host.docker.internal:9002
10
7
PEERPREP_COLLAB_HOST=http://host.docker.internal:9003
11
8
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
2
2
3
3
EXPRESS_PORT = 9004
4
4
5
- MATCHING_DB_HOSTNAME = localhost
6
- MATCHING_DB_PORT = 6379
7
-
8
5
PEERPREP_USER_HOST = http://localhost:9001
9
6
PEERPREP_QUESTION_HOST = http://localhost:9002
10
7
PEERPREP_COLLAB_HOST = http://localhost:9003
11
8
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;
12
12
export const DB_PORT = Number . parseInt ( process . env . MATCHING_DB_PORT ?? '6379' ) ;
13
13
export const DB_USERNAME = process . env . MATCHING_DB_USERNAME ;
14
14
export 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}`;
17
15
18
16
export const NODE_ENV = process . env . NODE_ENV ;
19
17
You can’t perform that action at this time.
0 commit comments