fix: Add scipy dependency and fix config for Docker deployment

- Add scipy==1.11.4 for A/B testing statistical analysis
- Add SMTP config fields and extra="ignore" to Settings
- Remove obsolete 'version' attribute from docker-compose.yml

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-28 03:29:38 +00:00
parent e2882ce72b
commit f458f809ca
4 changed files with 32 additions and 3 deletions

View File

@@ -63,9 +63,16 @@ class Settings(BaseSettings):
ODOO_PASSWORD: Optional[str] = None # API key or password
ODOO_SYNC_ENABLED: bool = False
# SMTP (Optional - for email notifications)
SMTP_HOST: Optional[str] = None
SMTP_PORT: int = 587
SMTP_USER: Optional[str] = None
SMTP_PASSWORD: Optional[str] = None
class Config:
env_file = ".env"
case_sensitive = True
extra = "ignore" # Ignore extra env vars not defined here
# Instancia global de configuración