feat: Add database migration service with Alembic for PostgreSQL, integrating job management and counting functionalities. Update Docker Compose to include db-migrations service, enhancing the microservices architecture. Revise documentation for clarity on database schema and migration processes.

This commit is contained in:
erik
2026-07-06 00:50:50 -05:00
parent d95f8f6ad8
commit 081da999d4
43 changed files with 2911 additions and 2271 deletions
+11
View File
@@ -32,5 +32,16 @@ ASYNC_QUEUE=false
# Solo necesario cuando ASYNC_QUEUE=true. Se levanta via docker-compose.
REDIS_URL=redis://redis:6379/0
# ── Carpeta de documentos ─────────────────────────────────
# Ruta local que Docker monta como /data dentro de los contenedores.
IPS_DOCUMENT_ROOT=./data
# ── Servicio de conteo (count-api) ────────────────────────
OCR_DPI=300
OCR_LANG=spa
OCR_POOL_SIZE=4
SYNC_MAX_FILES=50
SYNC_PROCESS_CONCURRENCY=4
# ── Misc ──────────────────────────────────────────────────
ALLOWED_DOCUMENT_TYPES=CC,TI,CE,RC,PA,PPT,PEP,EPT,NUIP