Merge pull request #8163 from zmstone/0609-default-node-name-emqx-when-running-in-docker

fix: run emqx in docker with 'emqx' as node name by default
This commit is contained in:
Zaiming (Stone) Shi 2022-06-09 07:30:15 +01:00 committed by GitHub
commit bc96c9fda7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ LOCAL_IP=$(hostname -i | grep -oE '((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])\.){3}(
if [[ -z "$EMQX_NODE_NAME" ]]; then
if [[ -z "$EMQX_NAME" ]]; then
EMQX_NAME="$(hostname)"
EMQX_NAME='emqx'
fi
if [[ -z "$EMQX_HOST" ]]; then