From f69c6d4fb6d380ce3203cd257ce8adf00faab0fb Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 9 Dec 2015 00:57:14 +0800 Subject: [PATCH] add mosquitto --- README.md | 2 +- mosquitto/Dockerfile | 16 ++++++++++++++++ mosquitto/README.md | 17 +++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 mosquitto/Dockerfile create mode 100644 mosquitto/README.md diff --git a/README.md b/README.md index 49ee114..8df04c6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ dockerfiles - [ ] gitolite - [ ] hashcat - [ ] irc -- [ ] mosquitto - [ ] tshark ## DONE @@ -44,6 +43,7 @@ dockerfiles - [x] joomla - [x] mantisbt - [x] monit +- [x] mosquitto - [x] nginad - [x] nginx - [x] ngrok :+1: diff --git a/mosquitto/Dockerfile b/mosquitto/Dockerfile new file mode 100644 index 0000000..a15c16a --- /dev/null +++ b/mosquitto/Dockerfile @@ -0,0 +1,16 @@ +# +# Dockerfile for mosquitto +# + +FROM alpine +MAINTAINER kev + +RUN set -x \ + && apk add -U mosquitto \ + && rm -rf /var/cache/apk/* + +VOLUME /etc/mosquitto +EXPOSE 1883 + +ENTRYPOINT ["mosquitto"] +CMD ["-c", "/etc/mosquitto/mosquitto.conf", "-p", "1883"] diff --git a/mosquitto/README.md b/mosquitto/README.md new file mode 100644 index 0000000..8f53207 --- /dev/null +++ b/mosquitto/README.md @@ -0,0 +1,17 @@ +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. + +[1]: http://mosquitto.org/