feat: socket db
This commit is contained in:
@@ -13,7 +13,7 @@ from .config import (
|
||||
database_url = (
|
||||
f"postgresql+asyncpg://"
|
||||
f"{PG_LOGIN}:{PG_PASSWORD}@"
|
||||
f"{PG_HOST}:{PG_PORT}/{PG_DATABASE}"
|
||||
f"/{PG_DATABASE}?host=/run/postgresql/"
|
||||
)
|
||||
engine = create_async_engine(
|
||||
database_url,
|
||||
|
||||
Reference in New Issue
Block a user