New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0224 fix docker entrypoint env overrides #10027
0224 fix docker entrypoint env overrides #10027
Conversation
Prior to this change EMQX_NODE__NAME is ignored by docker entrypoint script which will in turn set EQMX_NODE_NAME by resolving the node name and domain name respectively.
67f6941
to
9bb5abf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add EMQX_NODE_NAME
to etc/emqx.conf
, because when the user executes bin/emqx ctl
in the container, bin/emqx
may not get the environment variables from docker-entrypoint.sh
EMQX_ZONES__DEFAULT__MQTT__MAX_PACKET_SIZE <--> zones.default.mqtt.max_packet_size | ||
EMQX_DASHBOARD__DEFAULT_PASSWORD <--> dashboard.default_password | ||
EMQX_NODE__COOKIE <--> node.cookie | ||
EMQX_LISTENERS__SSL__default__ENABLE <--> listeners.ssl.default.enable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EMQX_LISTENERS__SSL__default__ENABLE <--> listeners.ssl.default.enable | |
EMQX_LISTENERS__SSL__DEFAULT__ENABLE <--> listeners.ssl.default.enable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is intentionally left lower case to demo that lower case letters also work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, maybe add some note, it's easy to get confused
Looks EMQX 4.4 has same issue |
The node name is retrieved from parsing the |
For 4.4 the node name is retrieved from the latest |
When I create a EMQX container like this:
the
but
The EMQX opensource 4.4.14 has same issue |
in this example, |
No description provided.