Docker Compose for RabbitMQ: Basic Setup
Here’s a basic Docker Compose configuration for running a RabbitMQ instance:
version: "3.8" services: rabbitmq: image: rabbitmq:3-management-alpine ports: - "5672:5672" - "15672:15672" environments: - RABBITMQ_DEFAULT_USER=guest - RABBITMQ_DEFAULT_PASS=guest volumes: - rabbitmq-data:/var/lib/rabbitmq volumes: rabbitmq-data: