Refactor environment-specific configurations and data loading.

Refactored database and server configuration to handle environments (dev, test, prod) explicitly, including tailored database setup and SSL management. Separated slot and sample data loading for better control during initialization. Improved environment variable usage and error handling for production certificates.
This commit is contained in:
GotthardG 2024-12-17 13:16:53 +01:00
parent 0f0b7e50cf
commit 43d1f2fc5b

View File

@ -27,7 +27,7 @@ dependencies = [
"python-multipart~=0.0.6", "python-multipart~=0.0.6",
"uvicorn==0.23.1", "uvicorn==0.23.1",
"python-dateutil~=2.8.2", "python-dateutil~=2.8.2",
"tomli>=2.0.1" "tomli>=2.0.1",
"python-dotenv" "python-dotenv"
] ]
[tool.pytest.ini_options] [tool.pytest.ini_options]