from pydantic_settings import BaseSettings class Settings(BaseSettings): DB_HOST: str = "localhost" DB_PORT: int = 5432 DB_USER: str = "postgres" DB_PASSWORD: str = "postgres" # Se conserva el nombre fisico de BD en produccion para no romper el volumen postgres_data. DB_NAME: str = "cotizador_e3" API_KEY: str = "change-me-to-a-secure-random-key" ALLOW_LEGACY_API_KEY: bool = False JWT_SECRET: str = "change-me-to-a-secure-jwt-secret" API_HOST: str = "0.0.0.0" API_PORT: int = 8000 model_config = {"env_file": ".env", "env_file_encoding": "utf-8", "extra": "ignore"} settings = Settings()