From fd51042d0e698d07bee05d503d5b2d93a5e615c9 Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 6 Nov 2025 19:59:21 +0100 Subject: [PATCH] I am a fool and forget about the environment variables --- db_module/db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db_module/db.py b/db_module/db.py index da76d44..fc1ed04 100644 --- a/db_module/db.py +++ b/db_module/db.py @@ -9,8 +9,8 @@ from typing import Generator db_username = return_credentials("/etc/secrets/db_username") db_password = return_credentials("/etc/secrets/db_password") -db_host = os.getenv("BACKEND_API_DB_HOST","localhost") -db_database = os.getenv("BACKEND_API_DB_DATABASE","app") +db_host = os.getenv("DB_HOST","localhost") +db_database = os.getenv("DB_DATABASE","app") logger = setup_logger(__name__)