-
Notifications
You must be signed in to change notification settings - Fork 430
Description
RabbitMQ currently supports many more tunables in the config file then the entrypoint script supports:
https://www.rabbitmq.com/configure.html
The current entrypoint script paints things into a corner somewhat due to it's handling of some of the arguments (SSL, namely), assumptions about argument formatting of arguments by wrapping them in '<<"${val}">>', and the general nested format of the Rabbit config.
I believe the ability to set these variables is going to be a requirement for many users, especially for the settings documented in the production checklist. Unfortunately, I also believe that the complexity of the rabbitmq config file is too much for a simple bash script.
I propose a script that can build an hash of the default configs that the script currently builds, and that can then merge in a hash of user defined options. This would allow the script to continue maintain the settings it does now, and thereby maintain existing functionality, while also exposing the full config to the user so that they can perform any tuning needed for their environment.
I'm curious what others think of this idea and if others have other solutions in mind.