From da3d06782e2a2306cd21879f31e87ddb1b58ad25 Mon Sep 17 00:00:00 2001 From: Harshith Mullapudi Date: Sun, 26 Oct 2025 16:29:48 +0530 Subject: [PATCH] fix: accept redis password in redis connection --- apps/webapp/app/bullmq/connection.ts | 1 + hosting/docker/docker-compose.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/webapp/app/bullmq/connection.ts b/apps/webapp/app/bullmq/connection.ts index 560ea4e..2e4d81d 100644 --- a/apps/webapp/app/bullmq/connection.ts +++ b/apps/webapp/app/bullmq/connection.ts @@ -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 }; diff --git a/hosting/docker/docker-compose.yaml b/hosting/docker/docker-compose.yaml index d0b70e7..4487903 100644 --- a/hosting/docker/docker-compose.yaml +++ b/hosting/docker/docker-compose.yaml @@ -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}