From 1c9b704ecc20193c851c443489c0949b487b3bc9 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Mon, 30 Sep 2024 00:51:07 -0600 Subject: [PATCH] refactor: update redis url --- apps/api/src/index.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts index 1e8b7072..6ca054de 100644 --- a/apps/api/src/index.ts +++ b/apps/api/src/index.ts @@ -7,10 +7,11 @@ import { deployApplication } from "@dokploy/builders"; const app = new Hono(); const redisClient = createClient({ - socket: { - host: "localhost", - port: 6379, - }, + // socket: { + // host: "localhost", + // port: 6379, + // }, + url: process.env.REDIS_URL, // password: "xlfvpQ0ma2BkkkPX", });