8

You could use the command rabbitmq-diagnostics -q ping in case you just need a basic check. healthcheck: test: rabbitmq-diagnostics -q ping interval: 30s timeout: 30s retries: 3 More information on how to run more advanced health checks could be found here


4

Consider using the rabbitmq/rabbitmq-autocluster plugin: A RabbitMQ plugin that clusters nodes automatically using a number of peer discovery mechanisms: Consul, etcd2 DNS A records AWS EC2 tags AWS Autoscaling Groups There is a fair bit of configuration to plug in to get this setup including setting IAM policies and adding EC2 tags to ...


Only top voted, non community-wiki answers of a minimum length are eligible