visus-plus/api/app/core/config.py

12 lines
218 B
Python

from pydantic import BaseSettings
class Settings(BaseSettings):
DATABASE_URL: str = "postgresql+asyncpg://user:password@localhost:5432/dbname"
class Config:
env_file = ".env"
settings = Settings()