app apis and service stroe updated
This commit is contained in:
27
api_configs/databaseConfigs.py
Normal file
27
api_configs/databaseConfigs.py
Normal file
@@ -0,0 +1,27 @@
|
||||
storeHost = "10.10.2.36"
|
||||
|
||||
|
||||
class WagDatabase:
|
||||
SQL: str = "postgresql+psycopg2"
|
||||
USERNAME: str = "berkay_wag_user"
|
||||
PASSWORD: str = "berkay_wag_user_password"
|
||||
HOST: str = storeHost
|
||||
PORT: str = "5444"
|
||||
DATABASE_NAME: str = "wag_database"
|
||||
DATABASE_URL: str = f"{SQL}://{USERNAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}"
|
||||
|
||||
|
||||
class WagRedis:
|
||||
REDIS_HOST = storeHost
|
||||
REDIS_PASSWORD: str = "commercial_redis_password"
|
||||
REDIS_PORT: int = 11222
|
||||
REDIS_DB: int = 0
|
||||
|
||||
|
||||
class MongoConfig:
|
||||
password = "mongo_password"
|
||||
username = "mongo_user"
|
||||
database_name = "mongo_database"
|
||||
host = storeHost
|
||||
port = 11777
|
||||
url = f"mongodb://{username}:{password}@{host}:{port}/{database_name}?retryWrites=true&w=majority"
|
||||
Reference in New Issue
Block a user