summaryrefslogtreecommitdiff
path: root/Projekt/app/config.py
blob: d7f622d6e46b7fe56578f076b815e3b662ba36c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from pydantic import BaseSettings

class Settings(BaseSettings):
    database_hostname: str
    database_port: str
    database_password: str
    database_name: str
    database_username: str
    secret_key: str
    algorithm: str
    access_token_expire_minutes: int 

    class Config:
        env_file = ".env"

settings = Settings()