11 lines
345 B
Python
11 lines
345 B
Python
from Configs.host_config import HostConfig
|
|
|
|
|
|
class MongoConfig:
|
|
PASSWORD: str = "mongo_password"
|
|
USER_NAME: str = "mongo_user"
|
|
DATABASE_NAME: str = "mongo_database"
|
|
HOST: str = HostConfig.MAIN_HOST
|
|
PORT: str = 11777
|
|
URL: str = f"mongodb://{USER_NAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}?retryWrites=true&w=majority"
|