db: fix db password
Local Docker Build (Dev) / build-dev (push) Successful in 4s

This commit is contained in:
2025-10-17 21:00:58 -04:00
parent 6e859ad112
commit 9535e91db6
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -62,8 +62,6 @@ class NFOGuardConfig:
# Database
self.db_type = os.environ.get("DB_TYPE", "sqlite").lower()
self.db_path = Path(os.environ.get("DB_PATH", "/app/data/media_dates.db"))
print(f"DEBUG: DB_TYPE environment variable: {os.environ.get('DB_TYPE', 'NOT_SET')}")
print(f"DEBUG: Configured db_type: {self.db_type}")
# PostgreSQL database settings
if self.db_type == "postgresql":
@@ -72,9 +70,6 @@ class NFOGuardConfig:
self.db_name = os.environ.get("DB_NAME", "nfoguard")
self.db_user = os.environ.get("DB_USER", "nfoguard")
self.db_password = os.environ.get("DB_PASSWORD", "")
print(f"DEBUG: PostgreSQL config - host={self.db_host}, port={self.db_port}, db={self.db_name}, user={self.db_user}")
else:
print(f"DEBUG: Using SQLite config - path={self.db_path}")
# External connections
self._load_external_connections()