copied the code from the working repo
This commit is contained in:
21
mtucijobsbackend/app/config.py
Normal file
21
mtucijobsbackend/app/config.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
class Settings(BaseSettings):
|
||||
database_hostname: str
|
||||
database_port: str
|
||||
database_password: str
|
||||
database_name: str
|
||||
database_username: str
|
||||
access_key: str
|
||||
secret_key: str
|
||||
endpoint: str
|
||||
secret_key2: str
|
||||
algorithm: str
|
||||
access_token_expire_minutes: int
|
||||
refresh_token_expire_days: int
|
||||
x_api_key: str
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user