赞
踩
RabbitMQ的安装(docker-compose)
配置:
version: "3.8"
services:
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
restart: always
ports:
- 15672:15672
- 5672:5672
volumes:
- ./data:/var/lib/rabbitmq/mnesia
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=123456
docker-compose build && docker-compose up -d
浏览器打开http://127.0.0.1:15672/#/
输入docker-compose配置的账号:user,密码:123456
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。