Problem with Docker

I have Api and RabbitMQ images in docker compose. But RabbitMQ one loads longer than Api and because of that Api throws an exception that RabbitMQ not found
8 Replies
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
Sossenbinder
Sossenbinder4mo ago
You probably also want to consider building your API in a way which doesn't immediately crash when parts of your distributed system are not immediately available Especially if RabbitMQ is not 100% integral to your API
blueberriesiftheywerecats
yeah, healthcheck worked
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
blueberriesiftheywerecats
Im not sure how can I do that, im adding rabbitmq with masstransit
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
Sossenbinder
Sossenbinder4mo ago
^ Yeah, at least give it some resiliency patterns
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server