ai-hackaton-backend/app/core/config.py
2025-08-31 00:23:15 +05:00

21 lines
484 B
Python

from pydantic_settings import BaseSettings
from typing import Optional
class Settings(BaseSettings):
database_url: str = "postgresql+asyncpg://user:password@localhost:5432/hr_ai_db"
s3_endpoint_url: str = "https://s3.selcdn.ru"
s3_access_key_id: str
s3_secret_access_key: str
s3_bucket_name: str
s3_region: str = "ru-1"
app_env: str = "development"
debug: bool = True
class Config:
env_file = ".env"
settings = Settings()