language-learning-app/api/app/config.py

18 lines
380 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
database_url: str
jwt_secret: str
anthropic_api_key: str
deepl_api_key: str
gemini_api_key: str
storage_endpoint_url: str
storage_access_key: str
storage_secret_key: str
storage_bucket: str = "langlearn"
model_config = {"env_file": ".env"}
settings = Settings()