From 60192b044b78783ed5737507f4994607b6102d2b Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 14 Apr 2023 00:32:49 +0800 Subject: [PATCH] fix the default host config for redis --- backend/app/core/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/core/conf.py b/backend/app/core/conf.py index 3f3694cf..74d92384 100644 --- a/backend/app/core/conf.py +++ b/backend/app/core/conf.py @@ -33,14 +33,14 @@ class Settings(BaseSettings): DB_CHARSET: str = 'utf8mb4' # Redis - REDIS_HOST: str = 'redis' + REDIS_HOST: str = '127.0.0.1' REDIS_PORT: int = 6379 REDIS_PASSWORD: str = '' REDIS_DATABASE: int = 0 REDIS_TIMEOUT: int = 5 # APScheduler DB - APS_REDIS_HOST: str = 'redis' + APS_REDIS_HOST: str = '127.0.0.1' APS_REDIS_PORT: int = 6379 APS_REDIS_PASSWORD: str = '' APS_REDIS_DATABASE: int = 1