An open API service indexing awesome lists of open source software.

https://github.com/andyneff/simple-mqtt

Everything you need to know to get started with Mosquitto in one line
https://github.com/andyneff/simple-mqtt

Last synced: 5 months ago
JSON representation

Everything you need to know to get started with Mosquitto in one line

Awesome Lists containing this project

README

          

This is a very simple example of a working MQTT server using the official `eclipse-mosquitto` image

**Warning**: This is not a secure example, no TLS configured

All you have to do is:

```
docker-compose up
```

As you will see in the output, this:

1. Sets a test username and password (no output visible)
2. Start the mosquitto server, and expose it externally to port 1883
3. Start a Subscriber (internally)
4. Run a test publish message (internally)