RabbitMQ 🐰

Nov 5, 2018 11:36 · 128 words · 1 minute read rabbitmq devOps

 _______________
< Im not rabbit!! >
 ---------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Today at work, had to demonstrate a proof of concept (POC) related to message queues, so need to spin-up a rabbitmq server. “Play with Docker” come to the rescue. In couple of minutes environment is up and ready.

docker run -d \
--hostname rabbit-host \
--name rabbit-container \
-p 80:15672 \
-p 5672:5672 \
-e RABBITMQ_DEFAULT_USER="rabbit" \
-e RABBITMQ_DEFAULT_PASS="carrot" \
rabbitmq:3-management
PORTDescription
15672RabbitMQ Management console uses PORT 15672 for RabbitMQ version 3.x .
55672RabbitMQ Management console pre 3.x
5672Main RabbitMQ PORT and is defined in RABBITMQ_NODE_PORT environment variable

You can find more about environment RabbitMQ env variables here https://www.rabbitmq.com/configure.html#define-environment-variables

image

Login with credentials username: ‘rabbit’ & password: ‘carrot’

image

tweet Share