https://github.com/rickyjericevich/emqx-compose
A Docker Compose file to deploy EMQX's MQTT broker
https://github.com/rickyjericevich/emqx-compose
docker-compose emqx mqtt
Last synced: about 2 months ago
JSON representation
A Docker Compose file to deploy EMQX's MQTT broker
- Host: GitHub
- URL: https://github.com/rickyjericevich/emqx-compose
- Owner: rickyjericevich
- Created: 2024-11-26T20:15:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-27T13:29:24.000Z (over 1 year ago)
- Last Synced: 2025-06-09T23:42:55.785Z (about 1 year ago)
- Topics: docker-compose, emqx, mqtt
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# emqx-compose
A compose file to deploy the EMQX MQTT broker.
# Description
See the following:
- [EMQX Github repo](https://github.com/emqx/emqx)
- [EMQX Broker setup config](https://www.emqx.io/docs/en/v5.2/configuration/configuration.html)
- [Example EMQX configs](https://github.com/hivemq/hivemq-community-edition/tree/master/src/distribution/conf)
- [EMQX's Docker guide](https://www.emqx.io/docs/en/v5.2/deploy/install-docker.html#use-docker-compose-to-build-an-emqx-cluster)
# Usage
## 1. Make sure docker is installed
Follow this repo to set up Docker: [docker-setup-on-linux](https://github.com/rickyjericevich/docker-setup-on-linux)
## 2. Run the compose file in detached mode
```
docker compose up -d
```
## 3. Test the connection
Go the broker's dashboard at http://IP:18083/#/dashboard
You can also go to http://www.emqx.io/online-mqtt-client and connect to the broker using the host machine's IP & websocket port