File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ EXPRESS_PORT=9004
6
6
# MATCHING_DB_HOSTNAME="match-db"
7
7
MATCHING_DB_PORT=6379
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 @@ -5,5 +5,5 @@ EXPRESS_PORT=9004
5
5
MATCHING_DB_HOSTNAME=host.docker.internal
6
6
MATCHING_DB_PORT=6379
7
7
8
- MATCHING_DB_USERNAME=peerprep-match-express
9
- MATCHING_DB_PASSWORD=G7jBgyz9wGAFQ5La
8
+ # MATCHING_DB_USERNAME=peerprep-match-express
9
+ # MATCHING_DB_PASSWORD=G7jBgyz9wGAFQ5La
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ EXPRESS_PORT=9004
5
5
MATCHING_DB_HOSTNAME = " localhost"
6
6
MATCHING_DB_PORT = 6379
7
7
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"
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 @@ -4,11 +4,9 @@ export const UI_HOST = process.env.PEERPREP_UI_HOST!;
4
4
5
5
export const EXPRESS_PORT = process . env . EXPRESS_PORT ;
6
6
7
- const DB_USERNAME = process . env . MATCHING_DB_USERNAME ;
8
- const DB_PASSWORD = process . env . MATCHING_DB_PASSWORD ;
9
7
const DB_HOSTNAME = process . env . MATCHING_DB_HOSTNAME ;
10
8
const DB_PORT = Number . parseInt ( process . env . MATCHING_DB_PORT ?? '6379' ) ;
11
- export const DB_URL = `redis://${ DB_USERNAME } :${ DB_PASSWORD } @${ DB_HOSTNAME } :${ DB_PORT } ` ;
12
- // export const DB_URL = `redis://${DB_HOSTNAME}:${DB_PORT}`;
9
+ // export const DB_URL = `redis://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOSTNAME}:${DB_PORT}`;
10
+ export const DB_URL = `redis://${ DB_HOSTNAME } :${ DB_PORT } ` ;
13
11
14
12
export const NODE_ENV = process . env . NODE_ENV ;
You can’t perform that action at this time.
0 commit comments