Skip to content

Instantly share code, notes, and snippets.

@darioblanco
Last active May 30, 2018 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darioblanco/809b31f4c67bd9fcb1a5a7087b3e2571 to your computer and use it in GitHub Desktop.
Save darioblanco/809b31f4c67bd9fcb1a5a7087b3e2571 to your computer and use it in GitHub Desktop.
Example of rabbitmq/templates/rabbitmq.config for clustering
[
{rabbit, [
{cluster_nodes, {['rabbit@mynode1', 'rabbit@mynode2'], disc}},
{cluster_partition_handling, ignore},
{default_user, <<"guest">>},
{default_pass, <<"guest">>}
]},
{kernel, [
{inet_dist_listen_max, 44001},
{inet_dist_listen_min, 44001}
]}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment