Fixed docker start up issue

This commit is contained in:
Azeez Muibi
2025-03-22 17:11:46 +01:00
parent 9deb402322
commit 2baf9a22c1
47 changed files with 194 additions and 86 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ class Config:
"""Base configuration class."""
DEBUG: bool = os.environ.get('DEBUG', 'False').lower() == 'true'
TESTING: bool = os.environ.get('TESTING', 'False').lower() == 'true'
PORT: int = int(os.environ.get('PORT', 8080)) # Changed default port to 8080
PORT: int = int(os.environ.get('PORT', 8080)) # Changed default from 5000 to 8080
# API credentials
API_USERNAME: str = os.environ.get('API_USERNAME', 'admin')
API_PASSWORD: str = os.environ.get('API_PASSWORD', 'password')