mirror of
https://github.com/omnara-ai/omnara.git
synced 2025-08-12 20:39:09 +03:00
fix: environment variable override for database configuration (#40)
This commit is contained in:
@@ -29,8 +29,9 @@ def get_port_from_env() -> int:
|
||||
class Settings(BaseSettings):
|
||||
# Environment Configuration
|
||||
environment: str = "development"
|
||||
development_db_url: str = (
|
||||
"postgresql://user:password@localhost:5432/agent_dashboard"
|
||||
development_db_url: str = os.getenv(
|
||||
"DEVELOPMENT_DB_URL",
|
||||
"postgresql://user:password@localhost:5432/agent_dashboard",
|
||||
)
|
||||
production_db_url: str = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user