Skip to content

Run RabbitMQ within a docker container. #8

Description

@hazartilirot

Well, it's not an issue, but a simple message to make your life easier.

docker-compose up -d

compose.yml

version: "3.9"
services:
  rabbitmq:
    image: rabbitmq:3.12.0-beta.5-management
    hostname: rabbitmq
    restart: always
    environment:
      - RABBITMQ_DEFAULT_USER=guest
      - RABBITMQ_DEFAULT_PASS=guest
    ports:
      - 5672:5672
      - 15672:15672

the latest RabbitMQ docker container

and
application.yml

spring:
  rabbitmq:
    host: localhost
    port: 5672
    username: guest
    password: guest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions