summaryrefslogtreecommitdiff
path: root/deps/rabbitmq_peer_discovery_consul/examples/compose_consul_haproxy/conf/rabbitmq.conf
blob: 274eefcf66e29b8468eb927218fd7b7ceda7f5cb (plain)
1
2
3
4
5
6
7
8
9
10
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