Skip to content

Instantly share code, notes, and snippets.

@ro31337
Last active April 12, 2023 08:51
Show Gist options
  • Save ro31337/94b774886f76a57749d33287f069c145 to your computer and use it in GitHub Desktop.
Save ro31337/94b774886f76a57749d33287f069c145 to your computer and use it in GitHub Desktop.
Easiest RabbitMQ setup

Install RabbitMQ:

docker run -d --hostname my-rabbit --name blabla-rabbit -p 5672:5672 -p 8080:15672 rabbitmq:3-management

RabbitMQ works based on hostname:

One of the important things to note about RabbitMQ is that it stores data based on what it calls the "Node Name", which defaults to the hostname

So my-rabbit above is node name, and name (blabla-rabbit) is docker name.

rabbitmq:3-management contains UI plugin for queue management. Plugin port is 8080 (15672 in container). Login guest/guest.

Login to RabbitUI here: http://localhost:8080

RabbitMQ port is 5672 (localhost).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment