Skip to content

Align Service Hostnames with Dockerfile Defaults for Redis and RabbitMQ#1217

Open
SHAHIDNX wants to merge 6 commits intojookies:masterfrom
SHAHIDNX:master
Open

Align Service Hostnames with Dockerfile Defaults for Redis and RabbitMQ#1217
SHAHIDNX wants to merge 6 commits intojookies:masterfrom
SHAHIDNX:master

Conversation

@SHAHIDNX
Copy link

@SHAHIDNX SHAHIDNX commented Jun 25, 2024

Fix #1212

Description

The Redis and RabbitMQ services are configured via a Dockerfile, which is hard-coded to use the following environment variables. Therefore, for the default installation, jasmin.yml, redisy.yml and rabbitmq.yml files should point to 'rabbitmq' instead of 'rabbitmq-broker' and 'redis' instead of 'redis-server'.

# Default Redis and RabbitMQ connections
ENV AMQP_BROKER_HOST 'rabbitmq'
ENV AMQP_BROKER_PORT 5672
ENV REDIS_CLIENT_HOST 'redis'
ENV REDIS_CLIENT_PORT 6379

Issue References:
https://groups.google.com/g/jasmin-sms-gateway/c/k3CFXWGFW-w
#1212
#944

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

SHAHIDNX added 6 commits June 25, 2024 12:31
The service is configured via a Dockerfile, which is hard-coded to use the following environment variables. Therefore, for the default installation, this file should point to 'rabbitmq' instead of 'rabbitmq-broker'.

# Default Redis and RabbitMQ connections
ENV AMQP_BROKER_HOST 'rabbitmq'
ENV AMQP_BROKER_PORT 5672
ENV REDIS_CLIENT_HOST 'redis'
ENV REDIS_CLIENT_PORT 6379
The service is configured via a Dockerfile, which is hard-coded to use the following environment variables. Therefore, for the default installation, this file should point to 'redis' instead of 'redis-server'.

# Default Redis and RabbitMQ connections
ENV AMQP_BROKER_HOST 'rabbitmq'
ENV AMQP_BROKER_PORT 5672
ENV REDIS_CLIENT_HOST 'redis'
ENV REDIS_CLIENT_PORT 6379
The service is configured via a Dockerfile, which is hard-coded to use the following environment variables. Therefore, for the default installation, this file should point to 'redis' instead of 'redis-server'. as well for rabbitmq from rabbitmq-broker

# Default Redis and RabbitMQ connections
ENV AMQP_BROKER_HOST 'rabbitmq'
ENV AMQP_BROKER_PORT 5672
ENV REDIS_CLIENT_HOST 'redis'
ENV REDIS_CLIENT_PORT 6379
@ericomeehan
Copy link

I had the same issue running the provided files in my K8s cluster and this fixed it for me as well. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing Configmaps.yml in Jasmin SMS Gateway Installation on Kubernetes

2 participants