File tree Expand file tree Collapse file tree 5 files changed +17
-15
lines changed Expand file tree Collapse file tree 5 files changed +17
-15
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 3
3
4
4
EXPRESS_PORT=9004
5
5
6
- # MATCHING_DB_HOSTNAME="match-db"
7
- MATCHING_DB_PORT=6379
6
+ MATCHING_DB_HOSTNAME="match-db"
7
+ MATCHING_DB_PORT=6378
8
8
9
- # MATCHING_DB_USERNAME="peerprep-match-express"
10
- # MATCHING_DB_PASSWORD="G7jBgyz9wGAFQ5La"
11
- # REDIS_ARGS="--requirepass G7jBgyz9wGAFQ5La --user ${MATCHING_DB_USERNAME} on >G7jBgyz9wGAFQ5La ~* allcommands --user default off nopass nocommands"
9
+ MATCHING_DB_USERNAME="peerprep-match-express"
10
+ MATCHING_DB_PASSWORD="G7jBgyz9wGAFQ5La"
11
+ REDIS_ARGS="--requirepass G7jBgyz9wGAFQ5La --user ${MATCHING_DB_USERNAME} on >G7jBgyz9wGAFQ5La ~* allcommands --user default off nopass nocommands"
12
12
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ PEERPREP_USER_HOST=http://host.docker.internal:9001
9
9
PEERPREP_QUESTION_HOST=http://host.docker.internal:9002
10
10
PEERPREP_COLLAB_HOST=http://host.docker.internal:9003
11
11
12
- # MATCHING_DB_USERNAME=peerprep-match-express
13
- # MATCHING_DB_PASSWORD=G7jBgyz9wGAFQ5La
12
+ MATCHING_DB_USERNAME=peerprep-match-express
13
+ MATCHING_DB_PASSWORD=G7jBgyz9wGAFQ5La
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ PEERPREP_UI_HOST=http://localhost:5173
3
3
EXPRESS_PORT = 9004
4
4
5
5
MATCHING_DB_HOSTNAME = localhost
6
- MATCHING_DB_PORT = 6379
6
+ MATCHING_DB_PORT = 6378
7
7
8
8
9
9
PEERPREP_USER_HOST = " http://localhost:9001"
@@ -12,6 +12,6 @@ PEERPREP_COLLAB_HOST="http://localhost:9003"
12
12
13
13
14
14
15
- # MATCHING_DB_USERNAME="peerprep-match-express"
16
- # MATCHING_DB_PASSWORD="G7jBgyz9wGAFQ5La"
17
- # REDIS_ARGS="--requirepass G7jBgyz9wGAFQ5La --user ${MATCHING_DB_USERNAME} on >G7jBgyz9wGAFQ5La ~* allcommands --user default off nopass nocommands"
15
+ MATCHING_DB_USERNAME = " peerprep-match-express"
16
+ MATCHING_DB_PASSWORD = " G7jBgyz9wGAFQ5La"
17
+ 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 @@ -9,9 +9,11 @@ export const PEERPREP_QUESTION_HOST = process.env.PEERPREP_QUESTION_HOST;
9
9
export const PEERPREP_COLLAB_HOST = process . env . PEERPREP_COLLAB_HOST ;
10
10
11
11
const DB_HOSTNAME = process . env . MATCHING_DB_HOSTNAME ;
12
- const DB_PORT = Number . parseInt ( process . env . MATCHING_DB_PORT ?? '6379' ) ;
13
- // export const DB_URL = `redis://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOSTNAME}:${DB_PORT}`;
14
- export const DB_URL = `redis://${ DB_HOSTNAME } :${ DB_PORT } ` ;
12
+ const DB_PORT = Number . parseInt ( process . env . MATCHING_DB_PORT ?? '6378' ) ;
13
+ const DB_USERNAME = process . env . MATCHING_DB_USERNAME ;
14
+ 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}`;
15
17
16
18
export const NODE_ENV = process . env . NODE_ENV ;
17
19
You can’t perform that action at this time.
0 commit comments