Reformat all
This commit is contained in:
parent
fab96ad238
commit
9b8d75d061
|
|
@ -1,47 +1,43 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/_/adminer ",
|
"documentation": "Taken from https://hub.docker.com/_/adminer ",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname": {
|
||||||
"$$cap_appname":
|
|
||||||
{
|
|
||||||
"image": "adminer:$$cap_adminer_version",
|
"image": "adminer:$$cap_adminer_version",
|
||||||
"containerHttpPort": "8080",
|
"containerHttpPort": "8080",
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"ADMINER_PLUGINS": "$$cap_adminer_plugins",
|
"ADMINER_PLUGINS": "$$cap_adminer_plugins",
|
||||||
"ADMINER_DESIGN": "$$cap_adminer_design"
|
"ADMINER_DESIGN": "$$cap_adminer_design"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB. \n\n For more details, see: https://github.com/vrana/adminer\n\n Enter your Adminer Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
"start": "Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB. \n\n For more details, see: https://github.com/vrana/adminer\n\n Enter your Adminer Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
||||||
"end":"Adminer is deployed and available as $$cap_appname"
|
"end": "Adminer is deployed and available as $$cap_appname"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_adminer_version",
|
||||||
"id": "$$cap_adminer_version",
|
"label": "Adminer Version Tag",
|
||||||
"label": "Adminer Version Tag",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/adminer/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/adminer/tags/",
|
"defaultValue": "4",
|
||||||
"defaultValue": "4",
|
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_adminer_design",
|
||||||
"id": "$$cap_adminer_design",
|
"label": "OPTIONAL: Adminer Design",
|
||||||
"label": "OPTIONAL: Adminer Design",
|
"description": "List of designs: https://github.com/vrana/adminer/tree/master/designs",
|
||||||
"description": "List of designs: https://github.com/vrana/adminer/tree/master/designs",
|
"validRegex": "/^([a-zA-Z0-9-.])*$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9-.])*$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_adminer_plugins",
|
||||||
"id": "$$cap_adminer_plugins",
|
"label": "OPTIONAL: Adminer plugins (space separated)",
|
||||||
"label": "OPTIONAL: Adminer plugins (space separated)",
|
"defaultValue": "",
|
||||||
"defaultValue": "",
|
"validRegex": "/^([a-zA-Z0-9-.\\s])*$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9-.\\s])*$/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,50 +1,46 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/_/couchdb/",
|
"documentation": "Taken from https://hub.docker.com/_/couchdb/",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname": {
|
||||||
"$$cap_appname":
|
|
||||||
{
|
|
||||||
"image": "couchdb:$$cap_couchdb_version",
|
"image": "couchdb:$$cap_couchdb_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-db-data:/opt/couchdb/data",
|
"$$cap_appname-db-data:/opt/couchdb/data",
|
||||||
"$$cap_appname-db-etc:/opt/couchdb/etc"
|
"$$cap_appname-db-etc:/opt/couchdb/etc"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"ADMINER_PLUGINS": "$$cap_couchdb_user",
|
"ADMINER_PLUGINS": "$$cap_couchdb_user",
|
||||||
"ADMINER_DESIGN": "$$cap_couchdb_password"
|
"ADMINER_DESIGN": "$$cap_couchdb_password"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"CouchDB is a database that uses JSON for documents, an HTTP API, & JavaScript/declarative indexing.\n\n After installation on CaptainDuckDuck, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 5984 to other CaptainDuckDuck apps.\n\nEnter your CouchDB Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
"start": "CouchDB is a database that uses JSON for documents, an HTTP API, & JavaScript/declarative indexing.\n\n After installation on CaptainDuckDuck, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 5984 to other CaptainDuckDuck apps.\n\nEnter your CouchDB Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
||||||
"end":"CouchDB is deployed and available as $$cap_appname at port 5984 to other apps"
|
"end": "CouchDB is deployed and available as $$cap_appname at port 5984 to other apps"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_couchdb_version",
|
||||||
"id": "$$cap_couchdb_version",
|
"label": "CouchDB Version Tag",
|
||||||
"label": "CouchDB Version Tag",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/couchdb/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/couchdb/tags/",
|
"defaultValue": "2",
|
||||||
"defaultValue": "2",
|
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_couchdb_user",
|
||||||
"id": "$$cap_couchdb_user",
|
"label": "CouchDB Username",
|
||||||
"label": "CouchDB Username",
|
"defaultValue": "mainuser",
|
||||||
"defaultValue": "mainuser",
|
"validRegex": "/^([a-zA-Z0-9_])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9_])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_couchdb_password",
|
||||||
"id": "$$cap_couchdb_password",
|
"label": "CouchDB Password",
|
||||||
"label": "CouchDB Password",
|
"defaultValue": "",
|
||||||
"defaultValue": "",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,55 +1,51 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/r/minio/minio",
|
"documentation": "Taken from https://hub.docker.com/r/minio/minio",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname": {
|
||||||
"$$cap_appname":
|
|
||||||
{
|
|
||||||
"dockerfileLines": [
|
"dockerfileLines": [
|
||||||
"FROM minio/minio:$$cap_minio_version",
|
"FROM minio/minio:$$cap_minio_version",
|
||||||
"CMD [\"minio\", \"server\", \"/data\"]"
|
"CMD [\"minio\", \"server\", \"/data\"]"
|
||||||
],
|
],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-db-data:/data",
|
"$$cap_appname-db-data:/data",
|
||||||
"$$cap_appname-config-data:/root/.minio"
|
"$$cap_appname-config-data:/root/.minio"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"MINIO_ACCESS_KEY": "$$cap_access_key",
|
"MINIO_ACCESS_KEY": "$$cap_access_key",
|
||||||
"MINIO_SECRET_KEY": "$$cap_secret_key"
|
"MINIO_SECRET_KEY": "$$cap_secret_key"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"Minio is an object storage server released under Apache License v2.0. It is compatible with Amazon S3 cloud storage service. It is best suited for storing unstructured data such as photos, videos, log files, backups and container / VM images. Size of an object can range from a few KBs to a maximum of 5TB. Minio server is light enough to be bundled with the application stack, similar to NodeJS, Redis and MySQL. \n This one click app deploy one single instance of minio. If you are deploying minio in a high demand production environment, you should consider deploying multiple instances of minio. See minio docs for more details. https://www.minio.io/",
|
"start": "Minio is an object storage server released under Apache License v2.0. It is compatible with Amazon S3 cloud storage service. It is best suited for storing unstructured data such as photos, videos, log files, backups and container / VM images. Size of an object can range from a few KBs to a maximum of 5TB. Minio server is light enough to be bundled with the application stack, similar to NodeJS, Redis and MySQL. \n This one click app deploy one single instance of minio. If you are deploying minio in a high demand production environment, you should consider deploying multiple instances of minio. See minio docs for more details. https://www.minio.io/",
|
||||||
"end":"'Minio is deployed and available as $$cap_appname"
|
"end": "'Minio is deployed and available as $$cap_appname"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_minio_version",
|
||||||
"id": "$$cap_minio_version",
|
"label": "Minio Version",
|
||||||
"label": "Minio Version",
|
"defaultValue": "latest",
|
||||||
"defaultValue": "latest",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/minio/minio/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/minio/minio/tags/",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_access_key",
|
||||||
"id": "$$cap_access_key",
|
"label": "Minio Access Key",
|
||||||
"label": "Minio Access Key",
|
"defaultValue": "",
|
||||||
"defaultValue": "",
|
"description": "Username to access minio server",
|
||||||
"description": "Username to access minio server",
|
"validRegex": "/.{5,}/"
|
||||||
"validRegex": "/.{5,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_secret_key",
|
||||||
"id": "$$cap_secret_key",
|
"label": "Minio Secret Key",
|
||||||
"label": "Minio Secret Key",
|
"defaultValue": "",
|
||||||
"defaultValue": "",
|
"description": "Password to access minio server",
|
||||||
"description": "Password to access minio server",
|
"validRegex": "/.{8,}/"
|
||||||
"validRegex": "/.{8,}/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,18 +1,14 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/_/mongo-express/ except it is manually adjusted for port 80",
|
"documentation": "Taken from https://hub.docker.com/_/mongo-express/ except it is manually adjusted for port 80",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname": {
|
||||||
"$$cap_appname":
|
|
||||||
{
|
|
||||||
"image": "mongo-express:$$cap_mongoexpress_version",
|
"image": "mongo-express:$$cap_mongoexpress_version",
|
||||||
"containerHttpPort": "8081",
|
"containerHttpPort": "8081",
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"ME_CONFIG_MONGODB_SERVER": "$$cap_me_server_address",
|
"ME_CONFIG_MONGODB_SERVER": "$$cap_me_server_address",
|
||||||
"ME_CONFIG_MONGODB_ADMINUSERNAME": "$$cap_me_server_admin_username",
|
"ME_CONFIG_MONGODB_ADMINUSERNAME": "$$cap_me_server_admin_username",
|
||||||
"ME_CONFIG_MONGODB_ADMINPASSWORD": "$$cap_me_server_admin_password",
|
"ME_CONFIG_MONGODB_ADMINPASSWORD": "$$cap_me_server_admin_password",
|
||||||
|
|
@ -25,55 +21,55 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"MongoExpress is a Web-based MongoDB admin interface, written with Node.js and express. See MongoExpress page for more details: https://github.com/mongo-express/mongo-express\n\n Enter your MongoExpress Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
"start": "MongoExpress is a Web-based MongoDB admin interface, written with Node.js and express. See MongoExpress page for more details: https://github.com/mongo-express/mongo-express\n\n Enter your MongoExpress Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
||||||
"end":"MongoExpress is deployed and available as $$cap_appname"
|
"end": "MongoExpress is deployed and available as $$cap_appname"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_mongoexpress_version",
|
||||||
"id": "$$cap_mongoexpress_version",
|
"label": "Mongo Express Version Tag",
|
||||||
"label": "Mongo Express Version Tag",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo-express/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo-express/tags/",
|
"defaultValue": "latest",
|
||||||
"defaultValue": "latest",
|
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_me_server_address",
|
||||||
"id": "$$cap_me_server_address",
|
"label": "MongoDB Server Address",
|
||||||
"label": "MongoDB Server Address",
|
"description": "If MongoDB is created by CaptainDuckDuck, use srv-captain--REPLACE_THIS_WITH_CONTAINER_NAME",
|
||||||
"description": "If MongoDB is created by CaptainDuckDuck, use srv-captain--REPLACE_THIS_WITH_CONTAINER_NAME",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_me_server_port",
|
||||||
"id": "$$cap_me_server_port",
|
"label": "MongoDB Server Port (default is 27017)",
|
||||||
"label": "MongoDB Server Port (default is 27017)",
|
"defaultValue": "27017",
|
||||||
"defaultValue": "27017",
|
"validRegex": "/^([0-9])+$/"
|
||||||
"validRegex": "/^([0-9])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_me_server_admin_username",
|
||||||
"id": "$$cap_me_server_admin_username",
|
"label": "MongoDB Admin Username",
|
||||||
"label": "MongoDB Admin Username",
|
"defaultValue": "",
|
||||||
"defaultValue": "",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_me_server_admin_password",
|
||||||
"id": "$$cap_me_server_admin_password",
|
"label": "MongoDB Admin Password",
|
||||||
"label": "MongoDB Admin Password",
|
"defaultValue": "",
|
||||||
"defaultValue": "",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_me_dashboard_username",
|
||||||
"id": "$$cap_me_dashboard_username",
|
"label": "Choose a Mongo-Express Dashboard Username",
|
||||||
"label": "Choose a Mongo-Express Dashboard Username",
|
"defaultValue": "admin",
|
||||||
"defaultValue": "admin",
|
"description": "Restrict access to your Mongo Express dashboard by choosing username/pass",
|
||||||
"description": "Restrict access to your Mongo Express dashboard by choosing username/pass",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_me_dashboard_password",
|
||||||
"id": "$$cap_me_dashboard_password",
|
"label": "Mongo-Express Dashboard Password",
|
||||||
"label": "Mongo-Express Dashboard Password",
|
"defaultValue": "",
|
||||||
"defaultValue": "",
|
"description": "Restrict access to your Mongo Express dashboard by choosing username/pass",
|
||||||
"description": "Restrict access to your Mongo Express dashboard by choosing username/pass",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,51 +1,47 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/r/mongo/",
|
"documentation": "Taken from https://hub.docker.com/r/mongo/",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname": {
|
||||||
"$$cap_appname":
|
|
||||||
{
|
|
||||||
"image": "mongo:$$cap_mongo_version",
|
"image": "mongo:$$cap_mongo_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-db-data:/data/db",
|
"$$cap_appname-db-data:/data/db",
|
||||||
"$$cap_appname-db-config:/data/configdb"
|
"$$cap_appname-db-config:/data/configdb"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"MONGO_INITDB_ROOT_USERNAME": "$$cap_mongo_username",
|
"MONGO_INITDB_ROOT_USERNAME": "$$cap_mongo_username",
|
||||||
"MONGO_INITDB_ROOT_PASSWORD": "$$cap_mongo_password"
|
"MONGO_INITDB_ROOT_PASSWORD": "$$cap_mongo_password"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"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.",
|
"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});"
|
"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": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_mongo_version",
|
||||||
"id": "$$cap_mongo_version",
|
"label": "MongoDB Version",
|
||||||
"label": "MongoDB Version",
|
"defaultValue": "4",
|
||||||
"defaultValue": "4",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_mongo_username",
|
||||||
"id": "$$cap_mongo_username",
|
"label": "MongoDB RootUsername",
|
||||||
"label": "MongoDB RootUsername",
|
"defaultValue": "root",
|
||||||
"defaultValue": "root",
|
"description": "Only use alphanumeric chars.",
|
||||||
"description": "Only use alphanumeric chars.",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_mongo_password",
|
||||||
"id": "$$cap_mongo_password",
|
"label": "MongoDB password",
|
||||||
"label": "MongoDB password",
|
"description": "Only use alphanumeric chars.",
|
||||||
"description": "Only use alphanumeric chars.",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,42 +1,38 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://docs.docker.com/compose/mysql/ port mapping removed from WP as it's not needed",
|
"documentation": "Taken from https://docs.docker.com/compose/mysql/ port mapping removed from WP as it's not needed",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname-db": {
|
||||||
"$$cap_appname-db":
|
|
||||||
{
|
|
||||||
"image": "mysql:$$cap_mysql_version",
|
"image": "mysql:$$cap_mysql_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-db-data:/var/lib/mysql"
|
"$$cap_appname-db-data:/var/lib/mysql"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"MYSQL_ROOT_PASSWORD": "$$cap_db_pass"
|
"MYSQL_ROOT_PASSWORD": "$$cap_db_pass"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"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.",
|
"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: '*********' });'"
|
"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": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_mysql_version",
|
||||||
"id": "$$cap_mysql_version",
|
"label": "MySQL Version",
|
||||||
"label": "MySQL Version",
|
"defaultValue": "5.7",
|
||||||
"defaultValue": "5.7",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mysql/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mysql/tags/",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_db_pass",
|
||||||
"id": "$$cap_db_pass",
|
"label": "MySQL Root password",
|
||||||
"label": "MySQL Root password",
|
"description": "",
|
||||||
"description": "",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,30 +1,24 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/_/nextcloud",
|
"documentation": "Taken from https://hub.docker.com/_/nextcloud",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname": {
|
||||||
"$$cap_appname":
|
|
||||||
{
|
|
||||||
"image": "nextcloud:$$cap_nextcloud_version",
|
"image": "nextcloud:$$cap_nextcloud_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-data:/var/www/html"
|
"$$cap_appname-data:/var/www/html"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {}
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms. http://Nextcloud.com",
|
"start": "A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms. http://Nextcloud.com",
|
||||||
"end":"'NextCloud is deployed and available as $$cap_appname"
|
"end": "'NextCloud is deployed and available as $$cap_appname"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
|
||||||
"id": "$$cap_nextcloud_version",
|
"id": "$$cap_nextcloud_version",
|
||||||
"label": "NextCloud Version",
|
"label": "NextCloud Version",
|
||||||
"defaultValue": "15",
|
"defaultValue": "15",
|
||||||
|
|
|
||||||
|
|
@ -1,35 +1,29 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/r/parseplatform/parse-server/",
|
"documentation": "Taken from https://hub.docker.com/r/parseplatform/parse-server/",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname-mongodb": {
|
||||||
"$$cap_appname-mongodb":
|
|
||||||
{
|
|
||||||
"image": "mongo:$$cap_mongo_version",
|
"image": "mongo:$$cap_mongo_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-db-data:/data/db",
|
"$$cap_appname-db-data:/data/db",
|
||||||
"$$cap_appname-db-config:/data/configdb"
|
"$$cap_appname-db-config:/data/configdb"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"MONGO_INITDB_ROOT_USERNAME": "root",
|
"MONGO_INITDB_ROOT_USERNAME": "root",
|
||||||
"MONGO_INITDB_ROOT_PASSWORD": "$$cap_mongo_password"
|
"MONGO_INITDB_ROOT_PASSWORD": "$$cap_mongo_password"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"$$cap_appname-parse":
|
"$$cap_appname-parse": {
|
||||||
{
|
|
||||||
"depends_on": [
|
"depends_on": [
|
||||||
"$$cap_appname-mongodb"
|
"$$cap_appname-mongodb"
|
||||||
],
|
],
|
||||||
"image": "parseplatform/parse-server:$$cap_parse_version",
|
"image": "parseplatform/parse-server:$$cap_parse_version",
|
||||||
"containerHttpPort": "8080",
|
"containerHttpPort": "8080",
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"PORT": "8080",
|
"PORT": "8080",
|
||||||
"PARSE_SERVER_APPLICATION_ID": "$$cap_app_id",
|
"PARSE_SERVER_APPLICATION_ID": "$$cap_app_id",
|
||||||
"PARSE_SERVER_MASTER_KEY": "$$cap_master_key",
|
"PARSE_SERVER_MASTER_KEY": "$$cap_master_key",
|
||||||
|
|
@ -38,42 +32,42 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"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.",
|
"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."
|
"end": "Parse is deployed and available as $$cap_appname-parse."
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_mongo_version",
|
||||||
"id": "$$cap_mongo_version",
|
"label": "MongoDB Version",
|
||||||
"label": "MongoDB Version",
|
"defaultValue": "4",
|
||||||
"defaultValue": "4",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_mongo_password",
|
||||||
"id": "$$cap_mongo_password",
|
"label": "MongoDB password",
|
||||||
"label": "MongoDB password",
|
"description": "Only use alphanumeric chars.",
|
||||||
"description": "Only use alphanumeric chars.",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_parse_version",
|
||||||
"id": "$$cap_parse_version",
|
"label": "Parse Version",
|
||||||
"label": "Parse Version",
|
"defaultValue": "3.1.3",
|
||||||
"defaultValue": "3.1.3",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/parseplatform/parse-server/tags",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/parseplatform/parse-server/tags",
|
"validRegex": "/^([a-zA-Z0-9\\.])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9\\.])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_app_id",
|
||||||
"id": "$$cap_app_id",
|
"label": "Application ID",
|
||||||
"label": "Application ID",
|
"description": "Use a random string. See Parse documentation for more details.",
|
||||||
"description": "Use a random string. See Parse documentation for more details.",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_master_key",
|
||||||
"id": "$$cap_master_key",
|
"label": "Master Key",
|
||||||
"label": "Master Key",
|
"description": "Use a random string. See Parse documentation for more details.",
|
||||||
"description": "Use a random string. See Parse documentation for more details.",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,28 +1,23 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/r/phpmyadmin/phpmyadmin/",
|
"documentation": "Taken from https://hub.docker.com/r/phpmyadmin/phpmyadmin/",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname": {
|
||||||
"$$cap_appname":
|
|
||||||
{
|
|
||||||
"image": "phpmyadmin/phpmyadmin:$$cap_pma_version",
|
"image": "phpmyadmin/phpmyadmin:$$cap_pma_version",
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"PMA_ARBITRARY": "1"
|
"PMA_ARBITRARY": "1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"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.",
|
"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"
|
"end": "PhpMyAdmin is deployed and available as $$cap_appname"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
|
||||||
"id": "$$cap_pma_version",
|
"id": "$$cap_pma_version",
|
||||||
"label": "PHP My Admin Version Tag",
|
"label": "PHP My Admin Version Tag",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/phpmyadmin/phpmyadmin/tags/",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/phpmyadmin/phpmyadmin/tags/",
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,16 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://docs.docker.com/compose/mysql/ port mapping removed from WP as it's not needed",
|
"documentation": "Taken from https://docs.docker.com/compose/mysql/ port mapping removed from WP as it's not needed",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname-db": {
|
||||||
"$$cap_appname-db":
|
|
||||||
{
|
|
||||||
"image": "postgres:$$cap_postgres_version",
|
"image": "postgres:$$cap_postgres_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-db-data:/var/lib/postgresql/data"
|
"$$cap_appname-db-data:/var/lib/postgresql/data"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"POSTGRES_USER": "$$cap_pg_user",
|
"POSTGRES_USER": "$$cap_pg_user",
|
||||||
"POSTGRES_PASSWORD": "$$cap_pg_pass",
|
"POSTGRES_PASSWORD": "$$cap_pg_pass",
|
||||||
"POSTGRES_DB": "$$cap_pg_db",
|
"POSTGRES_DB": "$$cap_pg_db",
|
||||||
|
|
@ -23,41 +19,41 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"PostgreSQL, often simply Postgres, is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance. As a database server, its primary function is to store data, securely and supporting best practices, and retrieve it later, as requested by other software applications, be it those on the same computer or those running on another computer across a network (including the Internet). It can handle workloads ranging from small single-machine applications to large Internet-facing applications with many concurrent users.\n\n After installation on CaptainDuckDuck, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 5432 to other CaptainDuckDuck apps.\n\n Enter your Postgres Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
"start": "PostgreSQL, often simply Postgres, is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance. As a database server, its primary function is to store data, securely and supporting best practices, and retrieve it later, as requested by other software applications, be it those on the same computer or those running on another computer across a network (including the Internet). It can handle workloads ranging from small single-machine applications to large Internet-facing applications with many concurrent users.\n\n After installation on CaptainDuckDuck, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 5432 to other CaptainDuckDuck apps.\n\n Enter your Postgres Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
||||||
"end":"Postgres is deployed and available as srv-captain--$$cap_appname-db:5432 to other apps. For example with NodeJS: 'const client = new Client({ user: 'cap_pg_user', host: 'srv-captain--$$cap_appname', database: 'cap_pg_db', password: '********', port: 5432})'"
|
"end": "Postgres is deployed and available as srv-captain--$$cap_appname-db:5432 to other apps. For example with NodeJS: 'const client = new Client({ user: 'cap_pg_user', host: 'srv-captain--$$cap_appname', database: 'cap_pg_db', password: '********', port: 5432})'"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_postgres_version",
|
||||||
"id": "$$cap_postgres_version",
|
"label": "Postgres Version",
|
||||||
"label": "Postgres Version",
|
"defaultValue": "9.6",
|
||||||
"defaultValue": "9.6",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/postgres/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/postgres/tags/",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_pg_user",
|
||||||
"id": "$$cap_pg_user",
|
"label": "Postgres Username",
|
||||||
"label": "Postgres Username",
|
"description": "",
|
||||||
"description": "",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_pg_pass",
|
||||||
"id": "$$cap_pg_pass",
|
"label": "Postgres Password",
|
||||||
"label": "Postgres Password",
|
"description": "",
|
||||||
"description": "",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_pg_db",
|
||||||
"id": "$$cap_pg_db",
|
"label": "Postgres Default Database",
|
||||||
"label": "Postgres Default Database",
|
"description": "",
|
||||||
"description": "",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_pg_initdb_args",
|
||||||
"id": "$$cap_pg_initdb_args",
|
"label": "OPTIONAL: Arguments for 'postgres initdb'",
|
||||||
"label": "OPTIONAL: Arguments for 'postgres initdb'",
|
"description": "For example, --data-checksums",
|
||||||
"description": "For example, --data-checksums",
|
"validRegex": "/.{0,}/"
|
||||||
"validRegex": "/.{0,}/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,44 +1,40 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/_/adminer except it is manually adjusted for port 80",
|
"documentation": "Taken from https://hub.docker.com/_/adminer except it is manually adjusted for port 80",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname": {
|
||||||
"$$cap_appname":
|
|
||||||
{
|
|
||||||
"dockerfileLines": [
|
"dockerfileLines": [
|
||||||
"FROM redis:$$cap_redis_version",
|
"FROM redis:$$cap_redis_version",
|
||||||
"CMD exec redis-server --requirepass \"$$cap_redis_password\""
|
"CMD exec redis-server --requirepass \"$$cap_redis_password\""
|
||||||
],
|
],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-redis-data:/data"
|
"$$cap_appname-redis-data:/data"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"REDIS_PASSWORD": "$$cap_redis_password"
|
"REDIS_PASSWORD": "$$cap_redis_password"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"Redis is an open source key-value store that functions as a data structure server.\n\n After installation on CaptainDuckDuck, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 6379 to other CaptainDuckDuck apps.\n\n Enter your Redis container name and click on next. It will take about a minute for the process to finish.",
|
"start": "Redis is an open source key-value store that functions as a data structure server.\n\n After installation on CaptainDuckDuck, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 6379 to other CaptainDuckDuck apps.\n\n Enter your Redis container name and click on next. It will take about a minute for the process to finish.",
|
||||||
"end":"Redis is deployed and available as srv-captain--$$cap_appname:6379 to other apps. For example with NodeJS: const client = redis.createClient(6379, 'srv-captain--$$cap_appname' , {password: '$$cap_redis_password'})"
|
"end": "Redis is deployed and available as srv-captain--$$cap_appname:6379 to other apps. For example with NodeJS: const client = redis.createClient(6379, 'srv-captain--$$cap_appname' , {password: '$$cap_redis_password'})"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_redis_version",
|
||||||
"id": "$$cap_redis_version",
|
"label": "Redis Version Tag",
|
||||||
"label": "Redis Version Tag",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/redis/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/redis/tags/",
|
"defaultValue": "4",
|
||||||
"defaultValue": "4",
|
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_redis_password",
|
||||||
"id": "$$cap_redis_password",
|
"label": "Redis Password",
|
||||||
"label": "Redis Password",
|
"validRegex": "/^([a-zA-Z0-9-_])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9-_])+$/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,13 +1,10 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://github.com/strapi/strapi-docker/blob/master/docker-compose.yml",
|
"documentation": "Taken from https://github.com/strapi/strapi-docker/blob/master/docker-compose.yml",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname-core": {
|
||||||
"$$cap_appname-core":
|
|
||||||
{
|
|
||||||
"depends_on": [
|
"depends_on": [
|
||||||
"$$cap_appname-mongo"
|
"$$cap_appname-mongo"
|
||||||
],
|
],
|
||||||
|
|
@ -17,8 +14,7 @@
|
||||||
"$$cap_appname-data:/usr/src/api/strapi-app"
|
"$$cap_appname-data:/usr/src/api/strapi-app"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"APP_NAME": "$$cap_appname",
|
"APP_NAME": "$$cap_appname",
|
||||||
"DATABASE_CLIENT": "mongo",
|
"DATABASE_CLIENT": "mongo",
|
||||||
"DATABASE_HOST": "srv-captain--$$cap_appname-mongo",
|
"DATABASE_HOST": "srv-captain--$$cap_appname-mongo",
|
||||||
|
|
@ -30,52 +26,48 @@
|
||||||
"DATABASE_AUTHENTICATION_DATABASE": "admin"
|
"DATABASE_AUTHENTICATION_DATABASE": "admin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"$$cap_appname-mongo":
|
"$$cap_appname-mongo": {
|
||||||
{
|
|
||||||
"image": "mongo:$$cap_mongo_version",
|
"image": "mongo:$$cap_mongo_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-mongo-data:/data/db",
|
"$$cap_appname-mongo-data:/data/db",
|
||||||
"$$cap_appname-mongo-config:/data/configdb"
|
"$$cap_appname-mongo-config:/data/configdb"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"MONGO_INITDB_DATABASE": "strapi",
|
"MONGO_INITDB_DATABASE": "strapi",
|
||||||
"MONGO_INITDB_ROOT_USERNAME": "root",
|
"MONGO_INITDB_ROOT_USERNAME": "root",
|
||||||
"MONGO_INITDB_ROOT_PASSWORD": "$$cap_mongo_password"
|
"MONGO_INITDB_ROOT_PASSWORD": "$$cap_mongo_password"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"volumes":
|
"volumes": {
|
||||||
{
|
"db_data": {}
|
||||||
"db_data":
|
|
||||||
{}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"API creation made simple, secure and fast. The most advanced open-source Content Management Framework to build powerful API with no effort. Read more here: https://strapi.io ",
|
"start": "API creation made simple, secure and fast. The most advanced open-source Content Management Framework to build powerful API with no effort. Read more here: https://strapi.io ",
|
||||||
"end":"Strapi is deployed and available as $$cap_appname-core \n IMPORTANT!! It takes up to 2 minutes for Strapi to boot up. You will see 502 Error until the startup is finished."
|
"end": "Strapi is deployed and available as $$cap_appname-core \n IMPORTANT!! It takes up to 2 minutes for Strapi to boot up. You will see 502 Error until the startup is finished."
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_strapi_version",
|
||||||
"id": "$$cap_strapi_version",
|
"label": "Strapi Version",
|
||||||
"label": "Strapi Version",
|
"defaultValue": "v3.0.0-alpha.14.5",
|
||||||
"defaultValue": "v3.0.0-alpha.14.5",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/strapi/strapi/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/strapi/strapi/tags/",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_mongo_version",
|
||||||
"id": "$$cap_mongo_version",
|
"label": "MongoDB Version",
|
||||||
"label": "MongoDB Version",
|
"defaultValue": "4",
|
||||||
"defaultValue": "4",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_mongo_password",
|
||||||
"id": "$$cap_mongo_password",
|
"label": "MongoDB password",
|
||||||
"label": "MongoDB password",
|
"description": "Only use alphanumeric chars.",
|
||||||
"description": "Only use alphanumeric chars.",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,31 +1,26 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/r/apsl/thumbor/tags/",
|
"documentation": "Taken from https://hub.docker.com/r/apsl/thumbor/tags/",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname-db": {
|
||||||
"$$cap_appname-db":
|
|
||||||
{
|
|
||||||
"image": "apsl/thumbor:$$cap_thumbor_version",
|
"image": "apsl/thumbor:$$cap_thumbor_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-thumbor:/data"
|
"$$cap_appname-thumbor:/data"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"THUMBOR_PORT": "80"
|
"THUMBOR_PORT": "80"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images. It also features a VERY smart detection of important points in the image for better cropping and resizing, using state-of-the-art face and feature detection algorithms (more on that in Detection Algorithms). Using thumbor is very easy (after it is running). All you have to do is access it using an URL for an image, like this:\n http://<thumbor-server>/300x200/smart/s.glbimg.com/et/bb/f/original/2011/03/24/VN0JiwzmOw0b0lg.jpg\n\n See http://thumbor.org for more details. \n\n Enter your thumbor Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
"start": "thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images. It also features a VERY smart detection of important points in the image for better cropping and resizing, using state-of-the-art face and feature detection algorithms (more on that in Detection Algorithms). Using thumbor is very easy (after it is running). All you have to do is access it using an URL for an image, like this:\n http://<thumbor-server>/300x200/smart/s.glbimg.com/et/bb/f/original/2011/03/24/VN0JiwzmOw0b0lg.jpg\n\n See http://thumbor.org for more details. \n\n Enter your thumbor Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
||||||
"end":"'thumbor is deployed and available as $$cap_appname-db. Go to YOUR_APP_URL/unsafe/200x50/i.imgur.com/bvjzPct.jpg to test thumbor!"
|
"end": "'thumbor is deployed and available as $$cap_appname-db. Go to YOUR_APP_URL/unsafe/200x50/i.imgur.com/bvjzPct.jpg to test thumbor!"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
|
||||||
"id": "$$cap_thumbor_version",
|
"id": "$$cap_thumbor_version",
|
||||||
"label": "Thumbor Version",
|
"label": "Thumbor Version",
|
||||||
"defaultValue": "6.4.2",
|
"defaultValue": "6.4.2",
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,13 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://hub.docker.com/r/microsoft/vsts-agent/",
|
"documentation": "Taken from https://hub.docker.com/r/microsoft/vsts-agent/",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname": {
|
||||||
"$$cap_appname":
|
|
||||||
{
|
|
||||||
"image": "microsoft/vsts-agent:$$cap_vsts_version",
|
"image": "microsoft/vsts-agent:$$cap_vsts_version",
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"VSTS_ACCOUNT": "$$cap_vsts_account",
|
"VSTS_ACCOUNT": "$$cap_vsts_account",
|
||||||
"VSTS_TOKEN": "$$cap_vsts_token",
|
"VSTS_TOKEN": "$$cap_vsts_token",
|
||||||
"VSTS_AGENT": "$$cap_vsts_name",
|
"VSTS_AGENT": "$$cap_vsts_name",
|
||||||
|
|
@ -20,39 +16,39 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"Official image for the Visual Studio Team Services (VSTS) agent.",
|
"start": "Official image for the Visual Studio Team Services (VSTS) agent.",
|
||||||
"end":"VSTS Agent is deployed and available as $$cap_appname"
|
"end": "VSTS Agent is deployed and available as $$cap_appname"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_vsts_version",
|
||||||
"id": "$$cap_vsts_version",
|
"label": "VSTS Version Tag",
|
||||||
"label": "VSTS Version Tag",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/microsoft/vsts-agent/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/microsoft/vsts-agent/tags/",
|
"defaultValue": "latest",
|
||||||
"defaultValue": "latest",
|
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_vsts_account",
|
||||||
"id": "$$cap_vsts_account",
|
"label": "VSTS Account",
|
||||||
"label": "VSTS Account",
|
"description": "The name of the Visual Studio account. Take only the account part from your address, e.g. http://{account}.visualstudio.com",
|
||||||
"description": "The name of the Visual Studio account. Take only the account part from your address, e.g. http://{account}.visualstudio.com",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_vsts_token",
|
||||||
"id": "$$cap_vsts_token",
|
"label": "VSTS Token",
|
||||||
"label": "VSTS Token",
|
"description": "A personal access token (PAT) for the Visual Studio account that has been given at least the Agent Pools (read, manage) scope.",
|
||||||
"description": "A personal access token (PAT) for the Visual Studio account that has been given at least the Agent Pools (read, manage) scope.",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_vsts_name",
|
||||||
"id": "$$cap_vsts_name",
|
"label": "VSTS Agent Name",
|
||||||
"label": "VSTS Agent Name",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_vsts_pool",
|
||||||
"id": "$$cap_vsts_pool",
|
"label": "VSTS Pool",
|
||||||
"label": "VSTS Pool",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,28 +1,23 @@
|
||||||
{
|
{
|
||||||
"captainVersion": "1",
|
"captainVersion": "1",
|
||||||
"documentation": "Taken from https://docs.docker.com/compose/wordpress/ port mapping removed from WP as it's not needed",
|
"documentation": "Taken from https://docs.docker.com/compose/wordpress/ port mapping removed from WP as it's not needed",
|
||||||
"dockerCompose":
|
"dockerCompose": {
|
||||||
{
|
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services":
|
"services": {
|
||||||
{
|
"$$cap_appname-db": {
|
||||||
"$$cap_appname-db":
|
|
||||||
{
|
|
||||||
"image": "mysql:$$cap_mysql_version",
|
"image": "mysql:$$cap_mysql_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-db-data:/var/lib/mysql"
|
"$$cap_appname-db-data:/var/lib/mysql"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"MYSQL_ROOT_PASSWORD": "$$cap_db_pass",
|
"MYSQL_ROOT_PASSWORD": "$$cap_db_pass",
|
||||||
"MYSQL_DATABASE": "wordpress",
|
"MYSQL_DATABASE": "wordpress",
|
||||||
"MYSQL_USER": "$$cap_db_user",
|
"MYSQL_USER": "$$cap_db_user",
|
||||||
"MYSQL_PASSWORD": "$$cap_db_pass"
|
"MYSQL_PASSWORD": "$$cap_db_pass"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"$$cap_appname-wordpress":
|
"$$cap_appname-wordpress": {
|
||||||
{
|
|
||||||
"depends_on": [
|
"depends_on": [
|
||||||
"$$cap_appname-db"
|
"$$cap_appname-db"
|
||||||
],
|
],
|
||||||
|
|
@ -31,50 +26,47 @@
|
||||||
"$$cap_appname-wp-data:/var/www/html"
|
"$$cap_appname-wp-data:/var/www/html"
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment":
|
"environment": {
|
||||||
{
|
|
||||||
"WORDPRESS_DB_HOST": "srv-captain--$$cap_appname-db:3306",
|
"WORDPRESS_DB_HOST": "srv-captain--$$cap_appname-db:3306",
|
||||||
"WORDPRESS_DB_USER": "$$cap_db_user",
|
"WORDPRESS_DB_USER": "$$cap_db_user",
|
||||||
"WORDPRESS_DB_PASSWORD": "$$cap_db_pass"
|
"WORDPRESS_DB_PASSWORD": "$$cap_db_pass"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"volumes":
|
"volumes": {
|
||||||
{
|
"db_data": {}
|
||||||
"db_data":
|
|
||||||
{}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions":{
|
"instructions": {
|
||||||
"start":"WordPress is an online, open source website creation tool written in PHP. But in non-geek speak, it’s probably the easiest and most powerful blogging and website content management system (or CMS) in existence today.\n\n Enter your WordPress Configuration parameters and click on next. A MySQL (database) and a WordPress container will be created for you. The process will take about a minute for the process to finish.",
|
"start": "WordPress is an online, open source website creation tool written in PHP. But in non-geek speak, it’s probably the easiest and most powerful blogging and website content management system (or CMS) in existence today.\n\n Enter your WordPress Configuration parameters and click on next. A MySQL (database) and a WordPress container will be created for you. The process will take about a minute for the process to finish.",
|
||||||
"end":"Wordpress is deployed and available as $$cap_appname-wordpress . \n\n IMPORTANT: It will take up to 2 minutes for wordpress to be ready. Before that, you might see 502 error page.\n"
|
"end": "Wordpress is deployed and available as $$cap_appname-wordpress . \n\n IMPORTANT: It will take up to 2 minutes for wordpress to be ready. Before that, you might see 502 error page.\n"
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
"id": "$$cap_db_user",
|
||||||
"id": "$$cap_db_user",
|
"label": "Database user",
|
||||||
"label": "Database user",
|
"defaultValue": "wordpressuser",
|
||||||
"defaultValue": "wordpressuser",
|
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_db_pass",
|
||||||
"id": "$$cap_db_pass",
|
"label": "Database password",
|
||||||
"label": "Database password",
|
"description": "",
|
||||||
"description": "",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_wp_version",
|
||||||
"id": "$$cap_wp_version",
|
"label": "WordPress Version",
|
||||||
"label": "WordPress Version",
|
"defaultValue": "4.9",
|
||||||
"defaultValue": "4.9",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/wordpress/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/wordpress/tags/",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": "$$cap_mysql_version",
|
||||||
"id": "$$cap_mysql_version",
|
"label": "MySQL Version",
|
||||||
"label": "MySQL Version",
|
"defaultValue": "5.7",
|
||||||
"defaultValue": "5.7",
|
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mysql/tags/",
|
||||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mysql/tags/",
|
"validRegex": "/.{1,}/"
|
||||||
"validRegex": "/.{1,}/"
|
}
|
||||||
}]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue