RabbitMQ built on CentOS-7, with an ability to execute arbitrary commands just after RabbitMQ has started.
- Default user
guest
removed - User
admin:password
added. Modify the password by settingRABBITMQ_PASS
- Extra args passed to
docker run
or viaUSER_COMMANDS
will be executed just after RabbitMQ has started.
That gives you handy opportunity to pre-configure RabbitMQ to your needs, e.g. by callingrabbitmqctl add_vhost
etc.
docker run -d million12/rabbitmq
docker run -d -p 15673:15672 --name rabbitmq million12/rabbitmq "
rabbitmqctl add_user test test && \
rabbitmqctl set_user_tags test administrator && \
rabbitmqctl add_vhost test-vhost && \
rabbitmqctl set_permissions -p test-vhost test '.*' '.*' '.*'
"
See circle.yml for more examples.
Author: Marcin Ryzycki ([email protected])
Author: Przemyslaw Ozgo ([email protected])
Sponsored by Typostrap.io - the new prototyping tool for building highly-interactive prototypes of your website or web app. Built on top of TYPO3 Neos CMS and Zurb Foundation framework.