jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
986 stars 539 forks source link

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

Open SHAHIDNX opened 1 week ago

SHAHIDNX commented 1 week ago

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 https://github.com/jookies/jasmin/issues/1212 https://github.com/jookies/jasmin/issues/944

Checks

Additional Information