Public | Automated Build

Last pushed: 3 months ago
Short Description
A RabbitMQ image that will run a bash script when RabbitMQ appears to be up
Full Description

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

Docker Pull Command
Owner
authentise
Source Repository