Skip to content
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

Update VerneMQ to 2.0.1 #96

Conversation

Annopaolo
Copy link
Collaborator

-5924709859742303517_121

The most significant change is the update of Dockerfile and related scripts.
The reference used is v2.0.1 of vernemq/docker-vernemq.
Most of the update is a verbatim copy, but some outdated configuration params have been removed from
vernemq.conf. Moreover, the vm.args file was updated in the same fashion.

Similar to what previously done, we build both our plugin and VerneMQ and then put them together in the image.
We're still using root as user.

The wait-for utility is no more needed, so this will probably break Astarte's docker-compose.yml.
This PR is based, based on #95 due to the fact that VMQ 2 emits a number of debug logs that need to be filtered out.

Show logs in logfmt format (now you can use humanlog,
and even see the date of a log line, wohooo).
Moreover, make sure via a runtime configuration that
displayed logs are only from level info or higher.

Signed-off-by: Arnaldo Cesco <[email protected]>
The most significant change is the update of Dockerfile
and related scripts.
The reference used is v2.0.1 of vernemq/docker-vernemq
(see https://github.com/vernemq/docker-vernemq/tree/2.0.1).
This is mostly a verbatim copy.
Some outdated configuration params have been removed from
vernemq.conf.

Similar to what previously done, we build both our plugin
and VerneMQ and then put them together in the image.
We're still using root as user.

Signed-off-by: Arnaldo Cesco <[email protected]>
The v2.0.1 vernemq.sh script did not expose
port 8883 for mqtts. Bring it back.

Signed-off-by: Arnaldo Cesco <[email protected]>
@Annopaolo Annopaolo added chore Maintenance chore internals This issue or pull request is about implementation details labels Dec 19, 2024
@Annopaolo Annopaolo changed the title Update VerneMQ 2.0.1 Update VerneMQ to 2.0.1 Dec 19, 2024
@davidebriani davidebriani merged commit 43e3bcb into astarte-platform:master Jan 14, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance chore internals This issue or pull request is about implementation details
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants