Skip to content

Instantly share code, notes, and snippets.

@abhisekp
Last active December 10, 2023 12:30
Show Gist options
  • Save abhisekp/1605198bf649948f62a325cab6024c4e to your computer and use it in GitHub Desktop.
Save abhisekp/1605198bf649948f62a325cab6024c4e to your computer and use it in GitHub Desktop.
EMQX MQTT
docker volume create vol-emqx-data
docker volume create vol-emqx-log
docker network create -d bridge emqx-net
docker run -d --name emqx -p 1883:1883 -p 8083:8083 -p 8084:8084 -p 8883:8883 -p 18083:18083 \
-v vol-emqx-data:/opt/emqx/data -v /opt/emqx/log --net emqx-net emqx/emqx:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment