diff options
Diffstat (limited to 'deps/rabbitmq_peer_discovery_consul/examples/compose_consul_haproxy/conf/rabbitmq.conf')
-rw-r--r-- | deps/rabbitmq_peer_discovery_consul/examples/compose_consul_haproxy/conf/rabbitmq.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deps/rabbitmq_peer_discovery_consul/examples/compose_consul_haproxy/conf/rabbitmq.conf b/deps/rabbitmq_peer_discovery_consul/examples/compose_consul_haproxy/conf/rabbitmq.conf new file mode 100644 index 0000000000..274eefcf66 --- /dev/null +++ b/deps/rabbitmq_peer_discovery_consul/examples/compose_consul_haproxy/conf/rabbitmq.conf @@ -0,0 +1,11 @@ +loopback_users.guest = false +cluster_formation.peer_discovery_backend = rabbit_peer_discovery_consul +cluster_formation.consul.host = consul +# Set to true if automatic removal of unknown/absent nodes +# is desired. This can be dangerous, see +# * https://www.rabbitmq.com/cluster-formation.html#node-health-checks-and-cleanup +# * https://groups.google.com/forum/#!msg/rabbitmq-users/wuOfzEywHXo/k8z_HWIkBgAJ +cluster_formation.node_cleanup.only_log_warning = true +cluster_formation.consul.svc_addr_auto = true +cluster_partition_handling = autoheal +vm_memory_high_watermark.relative = 0.8 |