12 lines
314 B
Python
12 lines
314 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
|
|
|
DATABASE_URL: str = "postgresql+asyncpg://postgres:postgres@db:5432/audio_analyzer"
|
|
API_V1_PREFIX: str = "/api/v1"
|
|
|
|
|
|
settings = Settings()
|