1. docker 安装 RabbitMQ
java
version: "3.1"
services:
rabbitmq:
image: rabbitmq:management
restart: always
container_name: rabbitmq
ports:
- 5672:5672
- 15672:15672
volumes:
- ./data:/var/lib/rabbitmq
docker-compose.yml
Networking and RabbitMQ | RabbitMQ 官方文档
默认账号密码是
guest
guest
15672
可以导出配置,到下一个导入配置