1. The background
Start rabbitMQ using docker
2. Install
Install and boot with Docker.
docker run -d --hostname my-rabbit --name rabbit -p 15672:15672 -p 5672:5672 -e RABBITMQ_DEFAULT_USER=center -e RABBITMQ_DEFAULT_PASS=123qwe -e RABBITMQ_DEFAULT_VHOST=center rabbitmq:management
Copy the code
Create a RabitMQ with the above instruction:
- Account: center
- Password: 123 qwe
- v-host: center
- 15672: Console port number
- 5672: application access port number
- Port for managing the Web page: http://ip:15672
Configuration of 3.
Web port entry, go to http://localhost:15672/
4. Reference:
hub.docker.com/_/rabbitmq/
www.rabbitmq.com/api-guide.h…
The official training
www.rabbitmq.com/tutorials/t…