jharting / openshift-rabbitmq-cluster

Deploys a RabbitMQ cluster in OpenShift
39 stars 52 forks source link

Wrong usage RABBITMQ_CONFIG_FILE env #7

Closed shadowlord017 closed 5 years ago

shadowlord017 commented 5 years ago

RABBITMQ_CONFIG_FILE is set to "/var/lib/rabbitmq/rabbitmq.conf" but docker-entrypoint.sh waits it to be without ".conf" (https://github.com/docker-library/rabbitmq/blob/master/3.7/debian/docker-entrypoint.sh#L201-L203) So in your version it creates new file rabbitmq.conf.conf and after new params are written there (i.e. RABBITMQ_DEFAULT_USER and RABBITMQ_DEFAULT_PASS - rabbitmq-server process doesn't see these params)