Docker Compose로 RabbitMQ 실행하기

- docker-compose.yml

services:
  rabbitmq:
    container_name: rabbitmq
    image: rabbitmq:3-management-alpine
    init: true
    volumes:
      - ./volume/rabbitmq/etc:/etc/rabbitmq
      - ./volume/rabbitmq/data:/var/lib/rabbitmq
      - ./volume/rabbitmq/logs:/var/log/rabbitmq
      - ./volume/enabled_plugins:/etc/rabbitmq/enabled_plugins
    ports:
      - "5672:5672"
      - "15672:15672"
    environment:
      RABBITMQ_DEFAULT_USER: "root"
      RABBITMQ_DEFAULT_PASS: "changeme"

- volume/enabled_plugins

[rabbitmq_management, rabbitmq_web_dispatch, rabbitmq_management_agent].