1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

фикс авторизации2

This commit is contained in:
MoonTestUse1
2025-01-03 20:54:47 +06:00
parent b9fbad1d20
commit b44497fe35
3 changed files with 13 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ import os
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker, declarative_base
SQLALCHEMY_DATABASE_URL = os.getenv("DATABASE_URL", "postgresql://postgres:postgres123@postgres:5432/support_db")
SQLALCHEMY_DATABASE_URL = os.getenv("DATABASE_URL", "postgresql://postgres:postgres123@db:5432/support_db")
engine = create_engine(SQLALCHEMY_DATABASE_URL)