Skip to content

Rabbitmq

This is the Docker Compose configuration for Rabbitmq.

yaml
services:
  rabbitmq:
    image: rabbitmq:3-management
    container_name: rabbitmq
    hostname: rabbitmq
    ports:
      - "5672:5672"
      - "15672:15672"
    environment:
      RABBITMQ_DEFAULT_USER: admin
      RABBITMQ_DEFAULT_PASS: admin
    extra_hosts:
      - "host.docker.internal:host-gateway"
    restart: unless-stopped