more apps

This commit is contained in:
Kasra Bigdeli 2019-01-08 22:22:37 -08:00
parent 5b107ce44d
commit 53b322b44c
3 changed files with 77 additions and 2 deletions

View File

@ -23,8 +23,8 @@
}
},
"instructions":{
"start":"Parse Server is an open source version of the Parse backend that can be deployed to any infrastructure that can run Node.js. For more information on Parse platform see http://parseplatform.org\n\n Enter your Parse Configuration parameters and click on next. A MongoDB (database) and a Parse container will be created for you. The process will take about a minute for the process to finish.",
"end":"Parse is deployed and available as $$cap_appname-parse."
"start":"MongoDB is a cross-platform document-oriented database. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas. \n\n After installation on CaptainDuckDuck, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 27017 to other CaptainDuckDuck apps.\n\n Enter your MongoDB Configuration parameters and click on next. It will take about a minute for the process to finish.",
"end":"MongoDB is deployed and available as srv-captain--$$cap_appname:27017 to other apps. For example with NodeJS: mongoose.connect('mongodb://srv-captain--$$cap_appname/mydatabase', {userMongoClient: true});"
},
"variables": [
{

View File

@ -0,0 +1,42 @@
{
"captainVersion": "1",
"documentation": "Taken from https://docs.docker.com/compose/mysql/ port mapping removed from WP as it's not needed",
"dockerCompose":
{
"version": "3.3",
"services":
{
"$$cap_appname-db":
{
"image": "mysql:$$cap_mysql_version",
"volumes": [
"$$cap_appname-db-data:/var/lib/mysql"
],
"restart": "always",
"environment":
{
"MYSQL_ROOT_PASSWORD": "$$cap_mysql_version"
}
}
}
},
"instructions":{
"start":"MySQL is the world's most popular open source database. With its proven performance, reliability and ease-of-use, MySQL has become the leading database choice for web-based applications, covering the entire range from personal projects and websites, via e-commerce and information services, all the way to high profile web properties including Facebook, Twitter, YouTube, Yahoo! and many more.\n\n After installation on CaptainDuckDuck, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 3306 to other CapRover apps.\n\nEnter your MySQL Configuration parameters and click on next. It will take about a minute for the process to finish.",
"end":"'MySQL is deployed and available as srv-captain--$$cap_appname-db:3306 to other apps. For example with NodeJS, you do 'var con = mysql.createConnection({ host: 'srv-captain--$$cap_appname-db', user: 'root', password: '*********' });'"
},
"variables": [
{
"id": "$$cap_mysql_version",
"label": "MySQL Version",
"defaultValue": "5.7",
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mysql/tags/",
"validRegex": "/.{1,}/"
},
{
"id": "$$cap_db_pass",
"label": "MySQL Root password",
"description": "",
"validRegex": "/.{1,}/"
}]
}

View File

@ -0,0 +1,33 @@
{
"captainVersion": "1",
"documentation": "Taken from https://hub.docker.com/r/phpmyadmin/phpmyadmin/",
"dockerCompose":
{
"version": "3.3",
"services":
{
"$$cap_appname":
{
"image": "phpmyadmin/phpmyadmin:$$cap_pma_version",
"restart": "always",
"environment":
{
"PMA_ARBITRARY": "1"
}
}
}
},
"instructions":{
"start":"PhpMyAdmin is the most popular web interface for MySQL & MariaDB. Simply install PhpMyAdmin and then select what database you want to connect to.\n\n Enter your PhpMyAdmin Configuration parameters and click on next. It will take about a minute for the process to finish.",
"end":"PhpMyAdmin is deployed and available as $$cap_appname"
},
"variables": [
{
"id": "$$cap_pma_version",
"label": "PHP My Admin Version Tag",
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/phpmyadmin/phpmyadmin/tags/",
"defaultValue": "4.8",
"validRegex": "/^([a-zA-Z0-9-.])+$/"
}]
}