Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

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

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
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
1 participant