How to create the rabbitmq image to deploy in docker swarm cluster in 3 master nodes

Hi,

I have a requirement to create the rabbitmq cluster across 3 AWS ec2 instance in 3 AZs using swarm and docker compose file. The images that i am using are not supporting the cluster creation.
Any help to create rabbitmq image that support cluster is really appreciable.

Thanks in advance.

Did you check some of the tutorials an Internet search would turn up, like this one?