mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-12 03:08:28 +00:00
fix: accept redis password in redis connection
This commit is contained in:
parent
a727671a30
commit
da3d06782e
@ -16,6 +16,7 @@ export function getRedisConnection() {
|
||||
const redisConfig: RedisOptions = {
|
||||
host: process.env.REDIS_HOST,
|
||||
port: parseInt(process.env.REDIS_PORT as string),
|
||||
password: process.env.REDIS_PASSWORD,
|
||||
maxRetriesPerRequest: null, // Required for BullMQ
|
||||
enableReadyCheck: false, // Required for BullMQ
|
||||
};
|
||||
|
||||
@ -22,6 +22,7 @@ services:
|
||||
- APP_ORIGIN=${CORE_APP_ORIGIN}
|
||||
- REDIS_HOST=${REDIS_HOST}
|
||||
- REDIS_PORT=${REDIS_PORT}
|
||||
- REDIS_PASSWORD=${REDIS_PASSWORD}
|
||||
- REDIS_TLS_DISABLED=${REDIS_TLS_DISABLED}
|
||||
- NEO4J_URI=${NEO4J_URI}
|
||||
- NEO4J_USERNAME=${NEO4J_USERNAME}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user