version: "3.7" services: rabbitmq: hostname: rabbitmq image: rabbitmq:3.11-management command: rabbitmq-server ports: - "24001:5672" - "24002:15672" - "24003:1883" - "24004:8883" volumes: - ./rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro - ./rabbitmq/definitions.json:/etc/rabbitmq/definitions.json:ro - ./rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins:rw