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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user