summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGrega Vrbančič <[email protected]>2019-02-07 07:15:10 +0100
committerGrega Vrbančič <[email protected]>2019-02-07 07:15:10 +0100
commit03cd2cceef2ae9fe9e459b30a711980a4b2ea051 (patch)
tree852afd2ba1c6d5e3503091f894d84d44e96db2b3
parent2843a593a38590e57e64989dd323c3a3046cd6b8 (diff)
downloadcaprover-one-click-apps-03cd2cceef2ae9fe9e459b30a711980a4b2ea051.tar.gz
caprover-one-click-apps-03cd2cceef2ae9fe9e459b30a711980a4b2ea051.zip
add RabbitMQ template.
-rw-r--r--public/v1/apps/rabbitmq.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/public/v1/apps/rabbitmq.json b/public/v1/apps/rabbitmq.json
new file mode 100644
index 0000000..04bf87a
--- /dev/null
+++ b/public/v1/apps/rabbitmq.json
@@ -0,0 +1,46 @@
+{
+ "captainVersion": "1",
+ "documentation": "Taken from https://hub.docker.com/_/rabbitmq",
+ "dockerCompose": {
+ "version": "3.3",
+ "services": {
+ "$$cap_appname": {
+ "image": "rabbitmq:$$cap_rabbitmq_version",
+ "notExposeAsWebApp": "true",
+ "volumes": [
+ "$$cap_appname-rabbitmq-data:/var/lib/rabbitmq"
+ ],
+ "restart": "always",
+ "environment": {
+ "RABBITMQ_DEFAULT_USER": "$$cap_rabbitmq_user",
+ "RABBITMQ_DEFAULT_PASS": "$$cap_rabbitmq_password"
+ }
+ }
+ }
+ },
+ "instructions": {
+ "start": "RabbitMQ is open source message broker software (sometimes called message-oriented middleware) that implements the Advanced Message Queuing Protocol (AMQP). The RabbitMQ server is written in the Erlang programming language and is built on the Open Telecom Platform framework for clustering and failover. Client libraries to interface with the broker are available for all major programming languages.\n\n Enter your Postgres Configuration parameters and click on next. It will take about a minute for the process to finish.",
+ "end": "RabbitMQ is deployed and available as srv-captain--$$cap_appname:5672 to other apps."
+ },
+ "variables": [{
+ "id": "$$cap_rabbitmq_version",
+ "label": "RabbitMQ Version Tag",
+ "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/rabbitmq/tags/",
+ "defaultValue": "3.7",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ },
+ {
+ "id": "$$cap_rabbitmq_user",
+ "label": "RabbitMQ Default User",
+ "description": "",
+ "validRegex": "/.{1,}/"
+ },
+ {
+ "id": "$$cap_rabbitmq_password",
+ "label": "RabbitMQ Default Password",
+ "description": "",
+ "validRegex": "/.{1,}/"
+ }
+ ]
+
+} \ No newline at end of file