title: RabbitMQ cluster by docker-compose on different hosts and different projects
body: <p>I have 3 projects, that deploys on different hosts. Every project have it's own RabbitMQ container. But I need to create cluster with this 3 hosts, using the same vhost, but different user/login pair.</p>
  
  <p>I was tried Swarm and overlay networks, but swarm is aimed to run solo containers and with compose it doesn't work. Also, I was tried docker-compose bundle, but this is not work as expected :(</p>
  
  <p><strong>I assumed that it would work something like this</strong>:</p>
  
  <p>1) On manager node I create overlay network</p>
  
  <p>2) In every compose file I extend networks config for rabbitmq container with my overlay network.</p>
  
  <p>3) They work as expected and I don't publish to Internet rabbitmq port.</p>
  
  <hr>
  
  <p>Any idea, how can I do this?</p>