Sign inSign up

authentise/rabbitmq

By authentise

Updated almost 4 years ago

A RabbitMQ image that will run a bash script when RabbitMQ appears to be up

Image
2

100K+

authentise/rabbitmq repository overview

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

Tag summary

Content type

Image

Digest

sha256:5843a8d79

Size

95.9 MB

Last updated

almost 4 years ago

docker pull authentise/rabbitmq