Explorar o código

fix(config): added Redis host and port configuration

unknown hai 3 horas
pai
achega
098bfca72c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      backend/config.py

+ 4 - 0
backend/config.py

@@ -61,3 +61,7 @@ FRONTEND_URL = os.getenv("FRONTEND_URL", "https://radionica3d.me")
 
 # Telegram Notifications
 TELEGRAM_CHAT_ID = os.getenv("CHAT_ID")
+
+# Redis Configuration
+REDIS_HOST = os.getenv("REDIS_HOST", "localhost")
+REDIS_PORT = int(os.getenv("REDIS_PORT", "6379"))