Skip to content

Instantly share code, notes, and snippets.

@zmstone
Created March 27, 2023 13:20
Show Gist options
  • Save zmstone/0adc8f1f0a0c6051112ed83f2cb1a5cf to your computer and use it in GitHub Desktop.
Save zmstone/0adc8f1f0a0c6051112ed83f2cb1a5cf to your computer and use it in GitHub Desktop.
#!/bin/bash
docker run --rm -it -e EMQX_AUTHENTICATION='[{mechanism="password_based",backend="http", url="http://node:4000/mqtt/authn//",method="post",body={username="${username}", password:"${password}"}, enable=true}]' \
emqx/emqx:5.0.14 emqx console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment