Update RabbitMQ host configuration and enhance Dockerfiles with dnf plugins

This commit is contained in:
okd
2025-06-05 01:51:13 +02:00
parent 9f674a3518
commit 045910c72d
5 changed files with 7 additions and 3 deletions

View File

@@ -8,6 +8,8 @@ WORKDIR /app
# Instalar dependencias del sistema necesarias para PyTorch y Whisper
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
dnf install -y dnf-plugins-core && \
dnf config-manager --set-enabled crb && \
dnf install -y gcc-c++ make ffmpeg && \
dnf clean all

View File

@@ -16,7 +16,7 @@ logging.basicConfig(
logger = logging.getLogger('processor')
# Configuración de RabbitMQ
RABBITMQ_HOST = 'rabbitmq'
RABBITMQ_HOST = 'rabbitmq-app.whisper.svc.cluster.local'
RABBITMQ_USER = 'user'
RABBITMQ_PASS = 'password'
PROCESS_QUEUE = 'audio_process_queue'

View File

@@ -9,6 +9,8 @@ WORKDIR /app
# Instalar ffmpeg usando el gestor de paquetes de Red Hat (dnf)
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
dnf install -y dnf-plugins-core && \
dnf config-manager --set-enabled crb && \
dnf install -y ffmpeg && \
dnf clean all

View File

@@ -15,7 +15,7 @@ logging.basicConfig(
logger = logging.getLogger('splitter')
# Configuración de RabbitMQ
RABBITMQ_HOST = 'rabbitmq'
RABBITMQ_HOST = 'rabbitmq-app.whisper.svc.cluster.local'
RABBITMQ_USER = 'user'
RABBITMQ_PASS = 'password'
SPLIT_QUEUE = 'audio_split_queue'

View File

@@ -15,7 +15,7 @@ logging.basicConfig(
logger = logging.getLogger('unifier')
# Configuración de RabbitMQ
RABBITMQ_HOST = 'rabbitmq'
RABBITMQ_HOST = 'rabbitmq-app.whisper.svc.cluster.local'
RABBITMQ_USER = 'user'
RABBITMQ_PASS = 'password'
UNIFY_QUEUE = 'text_unify_queue'