summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNauman Shakir <[email protected]>2020-07-01 16:46:36 +0500
committerGitHub <[email protected]>2020-07-01 07:46:36 -0400
commit2eb03b843fde8303db14203e7befaf486f7c6cdf (patch)
tree59600bdb8f2b9b39ab5bad94ddfec45cc9e45bd0
parent40dbf58987222bfd162a2dfd493e8c690dadc15d (diff)
downloadcaprover-one-click-apps-2eb03b843fde8303db14203e7befaf486f7c6cdf.tar.gz
caprover-one-click-apps-2eb03b843fde8303db14203e7befaf486f7c6cdf.zip
Added a one-click Eclipse Mosquitto MQTT Broker App (#205)
* added a one-click Eclipse Mosquitto MQTT Broker App * Eclipse MQTT Broker updated json * JSON formatting * Updated JSON * Updates based on suggestions -Removed Ports -Changed srv-captain--$$cap_appname:$$cap_mqtt_port srv-captain--$$cap_appname:$$cap_ws_port to srv-captain--$$cap_appname:1883 [mqtt port] srv-captain--$$cap_appname:9001 [websocket]
-rw-r--r--public/v2/apps/eclipse-mosquitto.json48
-rw-r--r--public/v2/logos/eclipse-mosquitto.pngbin0 -> 7617 bytes
2 files changed, 48 insertions, 0 deletions
diff --git a/public/v2/apps/eclipse-mosquitto.json b/public/v2/apps/eclipse-mosquitto.json
new file mode 100644
index 0000000..eb1adc9
--- /dev/null
+++ b/public/v2/apps/eclipse-mosquitto.json
@@ -0,0 +1,48 @@
+{
+ "captainVersion": "2",
+ "documentation": "Taken from https://github.com/eclipse/mosquitto. Mosquitto is an open source implementation of a server for version 5.0, 3.1.1, and 3.1 of the MQTT protocol. It also includes a C and C++ client library, and the mosquitto_pub and mosquitto_sub utilities for publishing and subscribing.",
+ "displayName": "Eclipse Mosquitto - A MQTT Broker",
+ "description": "Eclipse Mosquitto is an open source message broker which implements MQTT version 5, 3.1.1 and 3.1",
+ "dockerCompose": {
+ "version": "3.3",
+ "services": {
+ "$$cap_appname": {
+ "image": "eclipse-mosquitto:$$cap_eclipse_version",
+ "volumes": [
+ "$$cap_appname-eclipse-config:/mosquitto/config/",
+ "$$cap_appname-eclipse-data:/mosquitto/data/",
+ "$$cap_appname-eclipse-log:/mosquitto/log/"
+ ],
+ "notExposeAsWebApp": "true",
+ "ports": [
+
+ ],
+ "restart": "always"
+ }
+ }
+ },
+ "instructions": {
+ "start": "Eclipse Mosquitto is an open source message broker which implements MQTT version 5, 3.1.1 and 3.1. Enter Parameters below",
+ "end": "Eclipes-Mosquitto is deployed and available as srv-captain--$$cap_appname:1883 to other apps and srv-captain--$$cap_appname 9001 as a websocket."
+ },
+ "variables": [
+ {
+ "id": "$$cap_eclipse_version",
+ "label": "Eclipes-Mosquitto Image Version",
+ "defaultValue": "latest",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ },
+ {
+ "id": "$$cap_mqtt_port",
+ "label": "MQTT Port",
+ "defaultValue": "1883",
+ "validRegex": "/.{1,}/"
+ },
+ {
+ "id": "$$cap_ws_port",
+ "label": "MQTT Websocket Port",
+ "defaultValue": "8083",
+ "validRegex": "/.{1,}/"
+ }
+ ]
+}
diff --git a/public/v2/logos/eclipse-mosquitto.png b/public/v2/logos/eclipse-mosquitto.png
new file mode 100644
index 0000000..7b0dd43
--- /dev/null
+++ b/public/v2/logos/eclipse-mosquitto.png
Binary files differ