From c08fb8b2fd2f48f539bb4f4a9e6e869b82ab65c3 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 28 Aug 2015 09:12:06 -0400 Subject: [PATCH] add rabbitmq configs --- contrib/configs/rabbitmq/rabbit.config | 8 ++++++++ contrib/configs/rabbitmq/rabbitmq-env.conf | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 contrib/configs/rabbitmq/rabbit.config create mode 100644 contrib/configs/rabbitmq/rabbitmq-env.conf diff --git a/contrib/configs/rabbitmq/rabbit.config b/contrib/configs/rabbitmq/rabbit.config new file mode 100644 index 0000000..cb20003 --- /dev/null +++ b/contrib/configs/rabbitmq/rabbit.config @@ -0,0 +1,8 @@ +[ + {rabbitmq_management, [ + {listener, [{ip, "127.0.0.1"} + ]}, + {kernel, [ + {inet_dist_use_interface,{127,0,0,1}} + ]} +]. diff --git a/contrib/configs/rabbitmq/rabbitmq-env.conf b/contrib/configs/rabbitmq/rabbitmq-env.conf new file mode 100644 index 0000000..19d003e --- /dev/null +++ b/contrib/configs/rabbitmq/rabbitmq-env.conf @@ -0,0 +1,5 @@ +export RABBITMQ_NODENAME=rabbit@localhost +export RABBITMQ_NODE_IP_ADDRESS=127.0.0.1 +export ERL_EPMD_ADDRESS=127.0.0.1 + +export RABBITMQ_CONFIG_FILE="/etc/rabbitmq/rabbit.config"