更新时间:2022-05-10 22:07:37
可以使用这个插件https://github.com/aweber/rabbitmq-autocluster 创建一个 RabbitMQ docker 集群.
You can use this plugin https://github.com/aweber/rabbitmq-autocluster to create a RabbitMQ docker cluster.
插件使用etcd2
或consul
作为服务发现,这样就不需要使用rabbitmqctl
命令行了.
The plugin uses etcd2
or consul
as service discovery, in this way you don't need to use the rabbitmqctl
command line.
我将它与 docker swarm 一起使用,但这不是必需的.
I used it with docker swarm, but it is not necessary.
这里是结果