updated configs
This commit is contained in:
parent
31f01e8e01
commit
144b0f37d0
|
|
@ -6,5 +6,5 @@ class MongoConfig:
|
||||||
USER_NAME = "mongo_user"
|
USER_NAME = "mongo_user"
|
||||||
DATABASE_NAME = "mongo_database"
|
DATABASE_NAME = "mongo_database"
|
||||||
HOST = HostConfig.MAIN_HOST
|
HOST = HostConfig.MAIN_HOST
|
||||||
PORT = 11777
|
PORT = 11112
|
||||||
URL = f"mongodb://{USER_NAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}?retryWrites=true&w=majority"
|
URL = f"mongodb://{USER_NAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}?retryWrites=true&w=majority"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ from ApiLayers.AllConfigs import HostConfig
|
||||||
|
|
||||||
class WagDatabase:
|
class WagDatabase:
|
||||||
HOST: str = HostConfig.MAIN_HOST
|
HOST: str = HostConfig.MAIN_HOST
|
||||||
PORT: str = "5444"
|
PORT: int = 5434
|
||||||
SQL: str = "postgresql+psycopg2"
|
SQL: str = "postgresql+psycopg2"
|
||||||
USERNAME: str = "berkay_wag_user"
|
USERNAME: str = "berkay_wag_user"
|
||||||
PASSWORD: str = "berkay_wag_user_password"
|
PASSWORD: str = "berkay_wag_user_password"
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ class MongoConfig:
|
||||||
USER_NAME: str = "mongo_user"
|
USER_NAME: str = "mongo_user"
|
||||||
DATABASE_NAME: str = "mongo_database"
|
DATABASE_NAME: str = "mongo_database"
|
||||||
HOST: str = HostConfig.MAIN_HOST
|
HOST: str = HostConfig.MAIN_HOST
|
||||||
PORT: str = 11777
|
PORT: str = 11112
|
||||||
URL: str = (
|
URL: str = (
|
||||||
f"mongodb://{USER_NAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}?retryWrites=true&w=majority"
|
f"mongodb://{USER_NAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}?retryWrites=true&w=majority"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ from ApiLayers.AllConfigs import HostConfig
|
||||||
|
|
||||||
class Database:
|
class Database:
|
||||||
HOST: str = HostConfig.MAIN_HOST
|
HOST: str = HostConfig.MAIN_HOST
|
||||||
PORT: str = "5444"
|
PORT: int = 5434
|
||||||
SQL: str = "postgresql+psycopg2"
|
SQL: str = "postgresql+psycopg2"
|
||||||
USERNAME: str = "berkay_wag_user"
|
USERNAME: str = "berkay_wag_user"
|
||||||
PASSWORD: str = "berkay_wag_user_password"
|
PASSWORD: str = "berkay_wag_user_password"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue