TITULO: Centinela API Gateway
DESCRIPCIÓN: Backend oficial para la plataforma Centinela.
Esta imagen ejecuta una API RESTful de alto rendimiento construida con FastAPI (Python). Actúa como el cerebro del sistema, recibiendo solicitudes de análisis, validando URLs y encolando trabajos de scraping hacia Redis.
INICIO RÁPIDO (Quick Start): Se requiere una base de datos PostgreSQL y un broker Redis.
Comando para ejecutar: docker run -d -p 8000:8000 -e DATABASE_URL="postgresql://user:pass@db:5432/centinela" -e REDIS_HOST="redis" --name centinela-api mauriciovergara/centinela-api:latest
Documentación interactiva (Swagger) disponible en: http://localhost:8000/docs
VARIABLES DE ENTORNO:
DATABASE_URL: String de conexión a PostgreSQL (Ejemplo: postgresql://u:p@host:5432/db)
REDIS_HOST: Host del servidor Redis (Ejemplo: redis o localhost)
STACK TECNOLÓGICO:
Framework: FastAPI
Lenguaje: Python 3.11
Puerto Expuesto: 8000
Content type
Image
Digest
sha256:bb0981c0d…
Size
63.6 MB
Last updated
11 months ago
docker pull mauriciovergara/centinela-api