Based on https://masstransit.io/quick-starts/rabbitmq.
$ docker compose upYou can also look at the RabbitMQ dashboard via http://localhost:15672/ using:
- Username:
guest - Password:
guest
The dotnet application is starting before the RabbitMQ container is finished setting up, causing an initial connection error.
After a few seconds, the dotnet application retries to connect and everything works fine from then on.