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

Add DOCKER_IP_ADDRESS env var description in README.md #279

Open
tiagostutz opened this issue Apr 20, 2021 · 0 comments
Open

Add DOCKER_IP_ADDRESS env var description in README.md #279

tiagostutz opened this issue Apr 20, 2021 · 0 comments

Comments

@tiagostutz
Copy link

Hi!
I'm building a component that will run a NodeJS adapter along with a VerneMQ instance in the same container. I was struggling to make it run because the NodeJS service connects to tcp://localhost:1883 but the VerneMQ also needs to listen to external connections (por 1883 published).
Turns out that I needed to the VerneMQ process listen to 0.0.0.0 to make this internal/external conectivity work. Checking the code I could see that there's a DOCKER_IP_ADDRESS used as the IP_ADDRESS in the vernemq.conf file build process and them I just put DOCKER_IP_ADDRESS=0.0.0.0 and it worked.

Maybe there could be a mention at the README about this DOCKER_IP_ADDRESS environment var. If you agree I can send a PR on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant