feat(docker): rabbitmq cluster node port

This commit is contained in:
pnoker
2021-12-09 19:46:09 +08:00
parent dbbee03453
commit b42ccd87ad
3 changed files with 16 additions and 1 deletions
@@ -2,9 +2,14 @@
# do not have the RABBITMQ_ prefix.
#
# Overrides node name
#NODENAME=rabbit@$HOSTNAME
# NODENAME=rabbit@$HOSTNAME
NODENAME=node-01@localhost
# Port used for inter-node and CLI tool communication.
# Ignored if node config file sets kernel.inet_dist_listen_min or kernel.inet_dist_listen_max keys.
# See Networking for details, and Windows Quirks for Windows-specific details.
RABBITMQ_DIST_PORT=25000
# overrides primary config file location
CONFIG_FILE=$RABBITMQ_HOME/etc/rabbitmq/rabbitmq.conf
@@ -5,6 +5,11 @@
#NODENAME=rabbit@$HOSTNAME
NODENAME=node-02@localhost
# Port used for inter-node and CLI tool communication.
# Ignored if node config file sets kernel.inet_dist_listen_min or kernel.inet_dist_listen_max keys.
# See Networking for details, and Windows Quirks for Windows-specific details.
RABBITMQ_DIST_PORT=25100
# overrides primary config file location
CONFIG_FILE=$RABBITMQ_HOME/etc/rabbitmq/rabbitmq.conf
@@ -5,6 +5,11 @@
#NODENAME=rabbit@$HOSTNAME
NODENAME=node-03@localhost
# Port used for inter-node and CLI tool communication.
# Ignored if node config file sets kernel.inet_dist_listen_min or kernel.inet_dist_listen_max keys.
# See Networking for details, and Windows Quirks for Windows-specific details.
RABBITMQ_DIST_PORT=25200
# overrides primary config file location
CONFIG_FILE=$RABBITMQ_HOME/etc/rabbitmq/rabbitmq.conf