From a65b34d15ca60317a0d87bc78ea07eba370e7726 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Wed, 12 Mar 2025 21:56:10 +0530 Subject: [PATCH 1/4] feat: support redis auth --- server/src/worker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/worker.ts b/server/src/worker.ts index 3010a6b2..352fcb13 100644 --- a/server/src/worker.ts +++ b/server/src/worker.ts @@ -9,6 +9,7 @@ const connection = new IORedis({ host: process.env.REDIS_HOST, port: process.env.REDIS_PORT ? parseInt(process.env.REDIS_PORT, 10) : 6379, maxRetriesPerRequest: null, + password: process.env.REDIS_PASSWORD ? process.env.REDIS_PASSWORD : undefined, }); connection.on('connect', () => { From 79291a325d65c4f0ee2092a27baeeb4ab20c3168 Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Wed, 12 Mar 2025 21:58:34 +0530 Subject: [PATCH 2/4] feat: add REDIS_PASSWORD --- ENVEXAMPLE | 1 + 1 file changed, 1 insertion(+) diff --git a/ENVEXAMPLE b/ENVEXAMPLE index fd0c85f3..704954f2 100644 --- a/ENVEXAMPLE +++ b/ENVEXAMPLE @@ -14,6 +14,7 @@ MINIO_ACCESS_KEY=minio_access_key # MinIO access key MINIO_SECRET_KEY=minio_secret_key # MinIO secret key REDIS_HOST=redis # Redis host in Docker REDIS_PORT=6379 # Redis port (default: 6379) +REDIS_PASSWORD=redis_password # Redis password (This is optional) # Backend and Frontend URLs and Ports BACKEND_PORT=8080 # Port to run backend on. Needed for Docker setup From fdd6edee01513fb541702213414e9ee208381215 Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Wed, 12 Mar 2025 22:00:55 +0530 Subject: [PATCH 3/4] feat: add REDIS_PASSWORD --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3470a4ee..75fee4c5 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,8 @@ You can access the frontend at http://localhost:5173/ and backend at http://loca | `AIRTABLE_CLIENT_ID` | No | Client ID for Airtable, used for Airtable integration authentication. | Airtable login will not work. | | `AIRTABLE_REDIRECT_URI` | No | Redirect URI for handling Airtable OAuth responses. | Airtable login will not work. | | `REDIS_HOST` | Yes | Host address of the Redis server, used by BullMQ for scheduling robots. | Redis connection will fail. | -| `REDIS_PORT` | Yes | Port number for the Redis server. | Redis connection will fail. | +| `REDIS_PORT` | Yes | Port number for the Redis server. | Redis connection will fail. | +| `REDIS_PASSWORD` | No | Password for Redis Authentication. | Needed to authenticate with a password-protected Redis instance; if not set, Redis will attempt to connect without authentication. | | `MAXUN_TELEMETRY` | No | Disables telemetry to stop sending anonymous usage data. Keeping it enabled helps us understand how the product is used and assess the impact of any new changes. Please keep it enabled. | Telemetry data will not be collected. | From 2bdb8135f5e05080088a24aced4388cc89ad49ac Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Wed, 12 Mar 2025 22:01:32 +0530 Subject: [PATCH 4/4] feat: add REDIS_PASSWORD --- ENVEXAMPLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ENVEXAMPLE b/ENVEXAMPLE index 704954f2..dbe5470c 100644 --- a/ENVEXAMPLE +++ b/ENVEXAMPLE @@ -14,7 +14,7 @@ MINIO_ACCESS_KEY=minio_access_key # MinIO access key MINIO_SECRET_KEY=minio_secret_key # MinIO secret key REDIS_HOST=redis # Redis host in Docker REDIS_PORT=6379 # Redis port (default: 6379) -REDIS_PASSWORD=redis_password # Redis password (This is optional) +REDIS_PASSWORD=redis_password # Redis password (This is optional. Needed to authenticate with a password-protected Redis instance; if not set, Redis will connect without authentication.) # Backend and Frontend URLs and Ports BACKEND_PORT=8080 # Port to run backend on. Needed for Docker setup