feat: Introduce bot-digitador service for automated data entry in Integración Total. Add CLI and GUI interfaces for CSV processing, implement auto-start functionality on Windows, and enhance README with setup instructions and usage details. Include necessary configurations in docker-compose for service integration.
This commit is contained in:
@@ -199,6 +199,36 @@ services:
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
|
||||
bot-digitador:
|
||||
build:
|
||||
context: ./services/bot_digitador
|
||||
dockerfile: Dockerfile
|
||||
container_name: ipsextractor-bot-digitador
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
poblacion_apta:
|
||||
condition: service_started
|
||||
environment:
|
||||
BOT_API_TOKEN: ${BOT_API_TOKEN:-dev-token-change-me}
|
||||
BOT_API_HOST: 0.0.0.0
|
||||
BOT_API_PORT: "8210"
|
||||
DATABASE_URL: postgresql+psycopg://ipsextractor:ipsextractor@database:5432/ipsextractor
|
||||
POBLACION_APTA_URL: http://poblacion_apta:8003
|
||||
MINIO_ENDPOINT: ${MINIO_ENDPOINT:-https://s3.builker.xyz}
|
||||
MINIO_BUCKET: ${MINIO_BUCKET:-pys-cuentas-medicas}
|
||||
MINIO_ANONYMOUS: ${MINIO_ANONYMOUS:-1}
|
||||
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY:-}
|
||||
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY:-}
|
||||
MINIO_REGION: ${MINIO_REGION:-us-east-1}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:8210/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
|
||||
api_gateway:
|
||||
build:
|
||||
context: ./services/api_gateway
|
||||
@@ -215,12 +245,15 @@ services:
|
||||
condition: service_healthy
|
||||
bot-descarga:
|
||||
condition: service_healthy
|
||||
bot-digitador:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
EXTRACTION_URL: http://extraction:8001
|
||||
CLEANING_URL: http://cleaning:8002
|
||||
POBLACION_APTA_URL: http://poblacion_apta:8003
|
||||
COUNT_URL: http://count-api:8080
|
||||
BOT_DESCARGA_URL: http://bot-descarga:8200
|
||||
BOT_DIGITADOR_URL: http://bot-digitador:8210
|
||||
ports:
|
||||
# Único puerto expuesto al host. Los demás servicios solo son accesibles en la red Docker.
|
||||
- "0.0.0.0:8189:8000"
|
||||
|
||||
Reference in New Issue
Block a user