From 35c6d29b8f44830ba47dfb3d7b1e3ae7538a2168 Mon Sep 17 00:00:00 2001 From: Tim <135014430+nagisa77@users.noreply.github.com> Date: Fri, 5 Sep 2025 11:31:44 +0800 Subject: [PATCH] feat: allow redis db override --- backend/src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index 9f3d03125..b0ecbd7e0 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -12,7 +12,7 @@ spring.jpa.hibernate.ddl-auto=update # for redis spring.data.redis.host=${REDIS_HOST:localhost} spring.data.redis.port=${REDIS_PORT:6379} -spring.data.redis.database=0 +spring.data.redis.database=${REDIS_DATABASE:0} # for jwt app.jwt.secret=${JWT_SECRET:jwt_sec}