fix: update database URL to use 0.0.0.0 and adjust Alembic migration configurations
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ class Settings(BaseSettings):
|
||||
version: str = "0.1.0"
|
||||
api_v1_prefix: str = "/api/v1"
|
||||
database_url: str = Field(
|
||||
default="postgresql+asyncpg://postgres:postgres@localhost:5432/test_task_crm",
|
||||
default="postgresql+asyncpg://postgres:postgres@0.0.0.0:5432/test_task_crm",
|
||||
description="SQLAlchemy async connection string",
|
||||
)
|
||||
sqlalchemy_echo: bool = False
|
||||
|
||||
Reference in New Issue
Block a user