Skip to content

Add optional EMQX MQ configuration setting before installation#11549

Closed
sim-san wants to merge 3 commits intocommunity-scripts:mainfrom
sim-san:fix-emqx
Closed

Add optional EMQX MQ configuration setting before installation#11549
sim-san wants to merge 3 commits intocommunity-scripts:mainfrom
sim-san:fix-emqx

Conversation

@sim-san
Copy link

@sim-san sim-san commented Feb 4, 2026

✍️ Description

In this PR, I am adding a pre-installation prompt that allows users to enable or disable EMQX MQ functionality before container creation. This addresses a configuration requirement documented in the upstream EMQX issue.

Key Changes

• Updated resource requirements: HDD 4 -> 6 GB
• Added emqx_mq_setting() function to prompt user for EMQX MQ configuration
• Export EMQX_MQ__ENABLE environment variable (true/false) based on user selection

🔗 Related Issue

Fixes emqx/emqx#16649
See: emqx/emqx#16649 (comment)

✅ Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

@sim-san sim-san requested review from a team as code owners February 4, 2026 19:54
@github-actions github-actions bot added json update script A change that updates a script bugfix labels Feb 4, 2026
@MickLesk
Copy link
Member

MickLesk commented Feb 4, 2026

This will Always run before the Script Run, Update and Install.

What make this Feature?

Why Not Just an read -rp in Install?

@michelroegl-brunner
Copy link
Member

As Mick already stated, this belongs in the emqx-install.sh file, and then just do a read for that, like we have in all other apps.

@sim-san
Copy link
Author

sim-san commented Feb 6, 2026

Ok, will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix json update script A change that updates a script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EMQX 6.1 affect CPU ressources

3 participants