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:
@@ -6,7 +6,28 @@
|
||||
"Bash(git init:*)",
|
||||
"Bash(git add:*)",
|
||||
"Bash(git commit -m \"$\\(cat <<''EOF''\nImplementación inicial del sistema de automatización de redes sociales\n\n- Estructura completa del proyecto con FastAPI\n- Modelos de base de datos \\(productos, servicios, posts, calendario, interacciones\\)\n- Publishers para X, Threads, Instagram, Facebook\n- Generador de contenido con DeepSeek API\n- Worker de Celery con tareas programadas\n- Dashboard básico con templates HTML\n- Docker Compose para despliegue\n- Documentación completa\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n\\)\")",
|
||||
"Bash(git config:*)"
|
||||
"Bash(git config:*)",
|
||||
"Bash(curl:*)",
|
||||
"Bash(git branch:*)",
|
||||
"Bash(git remote add:*)",
|
||||
"Bash(git push:*)",
|
||||
"Bash(python3:*)",
|
||||
"Bash(source:*)",
|
||||
"Bash(pip install:*)",
|
||||
"Bash(apt-get update:*)",
|
||||
"Bash(apt-get install:*)",
|
||||
"Bash(docker:*)",
|
||||
"Bash(git commit:*)",
|
||||
"Bash(python:*)",
|
||||
"Bash(chmod:*)",
|
||||
"Bash(grep:*)",
|
||||
"Bash(ls:*)",
|
||||
"Bash(whereis:*)",
|
||||
"Bash(install:*)",
|
||||
"Bash(tee:*)",
|
||||
"Bash(systemctl start:*)",
|
||||
"Bash(systemctl enable:*)",
|
||||
"Bash(systemctl is-enabled:*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# ===========================================
|
||||
# APLICACIÓN PRINCIPAL (FastAPI)
|
||||
|
||||
@@ -34,6 +34,9 @@ pydantic-settings==2.1.0
|
||||
python-jose[cryptography]==3.3.0
|
||||
passlib[bcrypt]==1.7.4
|
||||
|
||||
# Estadísticas (A/B Testing)
|
||||
scipy==1.11.4
|
||||
|
||||
# Templates HTML
|
||||
jinja2==3.1.3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user