Config and Service initilaized
This commit is contained in:
11
AllConfigs/SqlDatabase/configs.py
Normal file
11
AllConfigs/SqlDatabase/configs.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from AllConfigs import HostConfig
|
||||
|
||||
|
||||
class WagDatabase:
|
||||
HOST: str = HostConfig.MAIN_HOST
|
||||
PORT: str = "5444"
|
||||
SQL: str = "postgresql+psycopg2"
|
||||
USERNAME: str = "berkay_wag_user"
|
||||
PASSWORD: str = "berkay_wag_user_password"
|
||||
DATABASE_NAME: str = "wag_database"
|
||||
DATABASE_URL: str = f"{SQL}://{USERNAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}"
|
||||
Reference in New Issue
Block a user