mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:34 +02:00
28 lines
978 B
Markdown
28 lines
978 B
Markdown
mosquitto
|
|
=========
|
|
|
|
![](https://badge.imagelayers.io/vimagick/mosquitto:latest.svg)
|
|
|
|
[Mosquitto][1] is an open source (BSD licensed) message broker that implements
|
|
the MQ Telemetry Transport protocol versions 3.1 and 3.1.1. MQTT provides a
|
|
lightweight method of carrying out messaging using a publish/subscribe model.
|
|
This makes it suitable for "machine to machine" messaging such as with low
|
|
power sensors or mobile devices such as phones, embedded computers or
|
|
microcontrollers like the Arduino. A good example of this is all of the work
|
|
that Andy Stanford-Clark (one of the originators of MQTT) has done in home
|
|
monitoring and automation with his twittering house and twittering ferry. Andy
|
|
gave a talk on this at OggCamp that explains a bit about MQTT and how he uses
|
|
it. The slides and audio are available online at slideshare.
|
|
|
|
## docker-compose.yml
|
|
|
|
```
|
|
mosquitto:
|
|
image: vimagick/mosquitto
|
|
ports:
|
|
- "1883:1883"
|
|
restart: always
|
|
```
|
|
|
|
[1]: http://mosquitto.org/
|