updated configs

This commit is contained in:
berkay 2025-03-25 11:42:30 +03:00
parent 31f01e8e01
commit 144b0f37d0
4 changed files with 4 additions and 4 deletions

View File

@ -6,5 +6,5 @@ class MongoConfig:
USER_NAME = "mongo_user"
DATABASE_NAME = "mongo_database"
HOST = HostConfig.MAIN_HOST
PORT = 11777
PORT = 11112
URL = f"mongodb://{USER_NAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}?retryWrites=true&w=majority"

View File

@ -3,7 +3,7 @@ from ApiLayers.AllConfigs import HostConfig
class WagDatabase:
HOST: str = HostConfig.MAIN_HOST
PORT: str = "5444"
PORT: int = 5434
SQL: str = "postgresql+psycopg2"
USERNAME: str = "berkay_wag_user"
PASSWORD: str = "berkay_wag_user_password"

View File

@ -6,7 +6,7 @@ class MongoConfig:
USER_NAME: str = "mongo_user"
DATABASE_NAME: str = "mongo_database"
HOST: str = HostConfig.MAIN_HOST
PORT: str = 11777
PORT: str = 11112
URL: str = (
f"mongodb://{USER_NAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}?retryWrites=true&w=majority"
)

View File

@ -3,7 +3,7 @@ from ApiLayers.AllConfigs import HostConfig
class Database:
HOST: str = HostConfig.MAIN_HOST
PORT: str = "5444"
PORT: int = 5434
SQL: str = "postgresql+psycopg2"
USERNAME: str = "berkay_wag_user"
PASSWORD: str = "berkay_wag_user_password"