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 14:32:31 +01:00
parent 43d1f2fc5b
commit 176aaa2867

View File

@ -14,4 +14,5 @@ httpx~=0.24.1
pydantic[email]
mysqlclient~=2.1.1
python-multipart~=0.0.6
uvicorn==0.23.1
uvicorn==0.23.1
python-dotenv