13 lines
246 B
Python
13 lines
246 B
Python
|
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||
|
|
||
|
|
||
|
class Settings(BaseSettings):
|
||
|
POSTGRES_USER: str
|
||
|
POSTGRES_DB: str
|
||
|
POSTGRES_PASSWORD: str
|
||
|
|
||
|
model_config = SettingsConfigDict(env_file='.env')
|
||
|
|
||
|
|
||
|
settings = Settings()
|