Update RabbitMQ host configuration and enhance Dockerfiles with dnf plugins
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user