docker-compose部署rabbitmq
docker-compose部署rabbitmq单机
创建一个rabbitmq.yml的文件
version: '3' services: rabbit: image: rabbitmq:3.8-management hostname: rabbit container_name: "rabbitmq3.8" restart: always ports: - "5672:5672" - "15672:15672" environment: - RABBITMQ_DEFAULT_USER=admin - RABBITMQ_DEFAULT_PASS=hzs888999 volumes: - ./data:/var/lib/rabbitmq
docker-compose部署rabbitmq集群
标签:compose,部署,RABBITMQ,DEFAULT,rabbitmq,docker From: https://www.cnblogs.com/OneSeting/p/17735073.html