RabbitMQ

docker-compose.yml

version: "3.3"
services:
  rabbitmq:
    image: rabbitmq:management-alpine
    ports:
      - 127.0.0.1:5672:5672
      - 127.0.0.1:15672:15672
    restart: always
    volumes:
      - rabbitmq_data:/var/lib/rabbitmq/
      - ./rabbitmq.conf:/etc/rabbitmq/conf.d/rabbitmq.conf


volumes:
  rabbitmq_data:

rabbitmq.conf Example

default_user = admin
default_pass = superpassword

*Replace admin and superpassword with your values