Authentise RabbitMQ Image
This is fundamentally the same as a regular RabbitMQ image with one important caveat - when the RabbitMQ server appears to be up this image will then execute a hook file, /hooks/on-startup.sh, within the context of the bash shell that started RabbitMQ. This is useful for running rabbitmqctl commands to do things like set up virtual hosts
For example, if you mounted this file in /hooks/on-startup.sh within the container:
rabbitmqctl add_vhost party-line
rabbitmqctl set_permissions -p party-line guest "." "." ".*"
echo "party-line vhost setup"
This would create a new vhost called 'party-line' that has all access granted to guest on it