forked from caprover/caprover-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request caprover#25 from GregaVrbancic/rabbitmq
Add RabbitMQ template
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 RabbitMQ 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,}/" | ||
} | ||
] | ||
|
||
} |