Reformat all
This commit is contained in:
parent
fab96ad238
commit
9b8d75d061
|
|
@ -1,47 +1,43 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/_/adminer ",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname": {
|
||||
"image": "adminer:$$cap_adminer_version",
|
||||
"containerHttpPort": "8080",
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"ADMINER_PLUGINS": "$$cap_adminer_plugins",
|
||||
"ADMINER_DESIGN": "$$cap_adminer_design"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"end":"Adminer is deployed and available as $$cap_appname"
|
||||
"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.",
|
||||
"end": "Adminer is deployed and available as $$cap_appname"
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"id": "$$cap_adminer_version",
|
||||
"label": "Adminer Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/adminer/tags/",
|
||||
"defaultValue": "4",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_adminer_design",
|
||||
"label": "OPTIONAL: Adminer Design",
|
||||
"description": "List of designs: https://github.com/vrana/adminer/tree/master/designs",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])*$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_adminer_plugins",
|
||||
"label": "OPTIONAL: Adminer plugins (space separated)",
|
||||
"defaultValue": "",
|
||||
"validRegex": "/^([a-zA-Z0-9-.\\s])*$/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_adminer_version",
|
||||
"label": "Adminer Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/adminer/tags/",
|
||||
"defaultValue": "4",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_adminer_design",
|
||||
"label": "OPTIONAL: Adminer Design",
|
||||
"description": "List of designs: https://github.com/vrana/adminer/tree/master/designs",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])*$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_adminer_plugins",
|
||||
"label": "OPTIONAL: Adminer plugins (space separated)",
|
||||
"defaultValue": "",
|
||||
"validRegex": "/^([a-zA-Z0-9-.\\s])*$/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,50 +1,46 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/_/couchdb/",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname": {
|
||||
"image": "couchdb:$$cap_couchdb_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-db-data:/opt/couchdb/data",
|
||||
"$$cap_appname-db-etc:/opt/couchdb/etc"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"ADMINER_PLUGINS": "$$cap_couchdb_user",
|
||||
"ADMINER_DESIGN": "$$cap_couchdb_password"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"end":"CouchDB is deployed and available as $$cap_appname at port 5984 to other apps"
|
||||
"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.",
|
||||
"end": "CouchDB is deployed and available as $$cap_appname at port 5984 to other apps"
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"id": "$$cap_couchdb_version",
|
||||
"label": "CouchDB Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/couchdb/tags/",
|
||||
"defaultValue": "2",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_couchdb_user",
|
||||
"label": "CouchDB Username",
|
||||
"defaultValue": "mainuser",
|
||||
"validRegex": "/^([a-zA-Z0-9_])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_couchdb_password",
|
||||
"label": "CouchDB Password",
|
||||
"defaultValue": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_couchdb_version",
|
||||
"label": "CouchDB Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/couchdb/tags/",
|
||||
"defaultValue": "2",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_couchdb_user",
|
||||
"label": "CouchDB Username",
|
||||
"defaultValue": "mainuser",
|
||||
"validRegex": "/^([a-zA-Z0-9_])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_couchdb_password",
|
||||
"label": "CouchDB Password",
|
||||
"defaultValue": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,55 +1,51 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/r/minio/minio",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname": {
|
||||
"dockerfileLines": [
|
||||
"FROM minio/minio:$$cap_minio_version",
|
||||
"CMD [\"minio\", \"server\", \"/data\"]"
|
||||
"FROM minio/minio:$$cap_minio_version",
|
||||
"CMD [\"minio\", \"server\", \"/data\"]"
|
||||
],
|
||||
"volumes": [
|
||||
"$$cap_appname-db-data:/data",
|
||||
"$$cap_appname-config-data:/root/.minio"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"MINIO_ACCESS_KEY": "$$cap_access_key",
|
||||
"MINIO_SECRET_KEY": "$$cap_secret_key"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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/",
|
||||
"end":"'Minio is deployed and available as $$cap_appname"
|
||||
"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/",
|
||||
"end": "'Minio is deployed and available as $$cap_appname"
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"id": "$$cap_minio_version",
|
||||
"label": "Minio Version",
|
||||
"defaultValue": "latest",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/minio/minio/tags/",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_access_key",
|
||||
"label": "Minio Access Key",
|
||||
"defaultValue": "",
|
||||
"description": "Username to access minio server",
|
||||
"validRegex": "/.{5,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_secret_key",
|
||||
"label": "Minio Secret Key",
|
||||
"defaultValue": "",
|
||||
"description": "Password to access minio server",
|
||||
"validRegex": "/.{8,}/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_minio_version",
|
||||
"label": "Minio Version",
|
||||
"defaultValue": "latest",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/minio/minio/tags/",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_access_key",
|
||||
"label": "Minio Access Key",
|
||||
"defaultValue": "",
|
||||
"description": "Username to access minio server",
|
||||
"validRegex": "/.{5,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_secret_key",
|
||||
"label": "Minio Secret Key",
|
||||
"defaultValue": "",
|
||||
"description": "Password to access minio server",
|
||||
"validRegex": "/.{8,}/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,18 +1,14 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/_/mongo-express/ except it is manually adjusted for port 80",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname": {
|
||||
"image": "mongo-express:$$cap_mongoexpress_version",
|
||||
"containerHttpPort": "8081",
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"ME_CONFIG_MONGODB_SERVER": "$$cap_me_server_address",
|
||||
"ME_CONFIG_MONGODB_ADMINUSERNAME": "$$cap_me_server_admin_username",
|
||||
"ME_CONFIG_MONGODB_ADMINPASSWORD": "$$cap_me_server_admin_password",
|
||||
|
|
@ -25,55 +21,55 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"end":"MongoExpress is deployed and available as $$cap_appname"
|
||||
"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.",
|
||||
"end": "MongoExpress is deployed and available as $$cap_appname"
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"id": "$$cap_mongoexpress_version",
|
||||
"label": "Mongo Express Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo-express/tags/",
|
||||
"defaultValue": "latest",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_server_address",
|
||||
"label": "MongoDB Server Address",
|
||||
"description": "If MongoDB is created by CaptainDuckDuck, use srv-captain--REPLACE_THIS_WITH_CONTAINER_NAME",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_server_port",
|
||||
"label": "MongoDB Server Port (default is 27017)",
|
||||
"defaultValue": "27017",
|
||||
"validRegex": "/^([0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_server_admin_username",
|
||||
"label": "MongoDB Admin Username",
|
||||
"defaultValue": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_server_admin_password",
|
||||
"label": "MongoDB Admin Password",
|
||||
"defaultValue": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_dashboard_username",
|
||||
"label": "Choose a Mongo-Express Dashboard Username",
|
||||
"defaultValue": "admin",
|
||||
"description": "Restrict access to your Mongo Express dashboard by choosing username/pass",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_dashboard_password",
|
||||
"label": "Mongo-Express Dashboard Password",
|
||||
"defaultValue": "",
|
||||
"description": "Restrict access to your Mongo Express dashboard by choosing username/pass",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_mongoexpress_version",
|
||||
"label": "Mongo Express Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo-express/tags/",
|
||||
"defaultValue": "latest",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_server_address",
|
||||
"label": "MongoDB Server Address",
|
||||
"description": "If MongoDB is created by CaptainDuckDuck, use srv-captain--REPLACE_THIS_WITH_CONTAINER_NAME",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_server_port",
|
||||
"label": "MongoDB Server Port (default is 27017)",
|
||||
"defaultValue": "27017",
|
||||
"validRegex": "/^([0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_server_admin_username",
|
||||
"label": "MongoDB Admin Username",
|
||||
"defaultValue": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_server_admin_password",
|
||||
"label": "MongoDB Admin Password",
|
||||
"defaultValue": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_dashboard_username",
|
||||
"label": "Choose a Mongo-Express Dashboard Username",
|
||||
"defaultValue": "admin",
|
||||
"description": "Restrict access to your Mongo Express dashboard by choosing username/pass",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_me_dashboard_password",
|
||||
"label": "Mongo-Express Dashboard Password",
|
||||
"defaultValue": "",
|
||||
"description": "Restrict access to your Mongo Express dashboard by choosing username/pass",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,47 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/r/mongo/",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname": {
|
||||
"image": "mongo:$$cap_mongo_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-db-data:/data/db",
|
||||
"$$cap_appname-db-config:/data/configdb"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"MONGO_INITDB_ROOT_USERNAME": "$$cap_mongo_username",
|
||||
"MONGO_INITDB_ROOT_PASSWORD": "$$cap_mongo_password"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"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});"
|
||||
"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.",
|
||||
"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": [
|
||||
{
|
||||
"id": "$$cap_mongo_version",
|
||||
"label": "MongoDB Version",
|
||||
"defaultValue": "4",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_username",
|
||||
"label": "MongoDB RootUsername",
|
||||
"defaultValue": "root",
|
||||
"description": "Only use alphanumeric chars.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_password",
|
||||
"label": "MongoDB password",
|
||||
"description": "Only use alphanumeric chars.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_mongo_version",
|
||||
"label": "MongoDB Version",
|
||||
"defaultValue": "4",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_username",
|
||||
"label": "MongoDB RootUsername",
|
||||
"defaultValue": "root",
|
||||
"description": "Only use alphanumeric chars.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_password",
|
||||
"label": "MongoDB password",
|
||||
"description": "Only use alphanumeric chars.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,42 +1,38 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://docs.docker.com/compose/mysql/ port mapping removed from WP as it's not needed",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname-db":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname-db": {
|
||||
"image": "mysql:$$cap_mysql_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-db-data:/var/lib/mysql"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"MYSQL_ROOT_PASSWORD": "$$cap_db_pass"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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: '*********' });'"
|
||||
"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,}/"
|
||||
}]
|
||||
"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,}/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,30 +1,24 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/_/nextcloud",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname": {
|
||||
"image": "nextcloud:$$cap_nextcloud_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-data:/var/www/html"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
}
|
||||
"environment": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"end":"'NextCloud is deployed and available as $$cap_appname"
|
||||
"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",
|
||||
"end": "'NextCloud is deployed and available as $$cap_appname"
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"variables": [{
|
||||
"id": "$$cap_nextcloud_version",
|
||||
"label": "NextCloud Version",
|
||||
"defaultValue": "15",
|
||||
|
|
@ -32,4 +26,4 @@
|
|||
"validRegex": "/.{1,}/"
|
||||
}]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,35 +1,29 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/r/parseplatform/parse-server/",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname-mongodb":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname-mongodb": {
|
||||
"image": "mongo:$$cap_mongo_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-db-data:/data/db",
|
||||
"$$cap_appname-db-config:/data/configdb"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"MONGO_INITDB_ROOT_USERNAME": "root",
|
||||
"MONGO_INITDB_ROOT_PASSWORD": "$$cap_mongo_password"
|
||||
}
|
||||
},
|
||||
"$$cap_appname-parse":
|
||||
{
|
||||
"$$cap_appname-parse": {
|
||||
"depends_on": [
|
||||
"$$cap_appname-mongodb"
|
||||
],
|
||||
"image": "parseplatform/parse-server:$$cap_parse_version",
|
||||
"containerHttpPort": "8080",
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"PORT": "8080",
|
||||
"PARSE_SERVER_APPLICATION_ID": "$$cap_app_id",
|
||||
"PARSE_SERVER_MASTER_KEY": "$$cap_master_key",
|
||||
|
|
@ -38,42 +32,42 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"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."
|
||||
"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."
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"id": "$$cap_mongo_version",
|
||||
"label": "MongoDB Version",
|
||||
"defaultValue": "4",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_password",
|
||||
"label": "MongoDB password",
|
||||
"description": "Only use alphanumeric chars.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_parse_version",
|
||||
"label": "Parse Version",
|
||||
"defaultValue": "3.1.3",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/parseplatform/parse-server/tags",
|
||||
"validRegex": "/^([a-zA-Z0-9\\.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_app_id",
|
||||
"label": "Application ID",
|
||||
"description": "Use a random string. See Parse documentation for more details.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_master_key",
|
||||
"label": "Master Key",
|
||||
"description": "Use a random string. See Parse documentation for more details.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_mongo_version",
|
||||
"label": "MongoDB Version",
|
||||
"defaultValue": "4",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_password",
|
||||
"label": "MongoDB password",
|
||||
"description": "Only use alphanumeric chars.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_parse_version",
|
||||
"label": "Parse Version",
|
||||
"defaultValue": "3.1.3",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/parseplatform/parse-server/tags",
|
||||
"validRegex": "/^([a-zA-Z0-9\\.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_app_id",
|
||||
"label": "Application ID",
|
||||
"description": "Use a random string. See Parse documentation for more details.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_master_key",
|
||||
"label": "Master Key",
|
||||
"description": "Use a random string. See Parse documentation for more details.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,28 +1,23 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/r/phpmyadmin/phpmyadmin/",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname": {
|
||||
"image": "phpmyadmin/phpmyadmin:$$cap_pma_version",
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"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"
|
||||
"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": [
|
||||
{
|
||||
"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/",
|
||||
|
|
@ -30,4 +25,4 @@
|
|||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
}]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,20 +1,16 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://docs.docker.com/compose/mysql/ port mapping removed from WP as it's not needed",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname-db":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname-db": {
|
||||
"image": "postgres:$$cap_postgres_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-db-data:/var/lib/postgresql/data"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"POSTGRES_USER": "$$cap_pg_user",
|
||||
"POSTGRES_PASSWORD": "$$cap_pg_pass",
|
||||
"POSTGRES_DB": "$$cap_pg_db",
|
||||
|
|
@ -23,41 +19,41 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"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})'"
|
||||
"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.",
|
||||
"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": [
|
||||
{
|
||||
"id": "$$cap_postgres_version",
|
||||
"label": "Postgres Version",
|
||||
"defaultValue": "9.6",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/postgres/tags/",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_pg_user",
|
||||
"label": "Postgres Username",
|
||||
"description": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_pg_pass",
|
||||
"label": "Postgres Password",
|
||||
"description": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_pg_db",
|
||||
"label": "Postgres Default Database",
|
||||
"description": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_pg_initdb_args",
|
||||
"label": "OPTIONAL: Arguments for 'postgres initdb'",
|
||||
"description": "For example, --data-checksums",
|
||||
"validRegex": "/.{0,}/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_postgres_version",
|
||||
"label": "Postgres Version",
|
||||
"defaultValue": "9.6",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/postgres/tags/",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_pg_user",
|
||||
"label": "Postgres Username",
|
||||
"description": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_pg_pass",
|
||||
"label": "Postgres Password",
|
||||
"description": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_pg_db",
|
||||
"label": "Postgres Default Database",
|
||||
"description": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_pg_initdb_args",
|
||||
"label": "OPTIONAL: Arguments for 'postgres initdb'",
|
||||
"description": "For example, --data-checksums",
|
||||
"validRegex": "/.{0,}/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,44 +1,40 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/_/adminer except it is manually adjusted for port 80",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname": {
|
||||
"dockerfileLines": [
|
||||
"FROM redis:$$cap_redis_version",
|
||||
"CMD exec redis-server --requirepass \"$$cap_redis_password\""
|
||||
"FROM redis:$$cap_redis_version",
|
||||
"CMD exec redis-server --requirepass \"$$cap_redis_password\""
|
||||
],
|
||||
"volumes": [
|
||||
"$$cap_appname-redis-data:/data"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"REDIS_PASSWORD": "$$cap_redis_password"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"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'})"
|
||||
"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.",
|
||||
"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": [
|
||||
{
|
||||
"id": "$$cap_redis_version",
|
||||
"label": "Redis Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/redis/tags/",
|
||||
"defaultValue": "4",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_redis_password",
|
||||
"label": "Redis Password",
|
||||
"validRegex": "/^([a-zA-Z0-9-_])+$/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_redis_version",
|
||||
"label": "Redis Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/redis/tags/",
|
||||
"defaultValue": "4",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_redis_password",
|
||||
"label": "Redis Password",
|
||||
"validRegex": "/^([a-zA-Z0-9-_])+$/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,13 +1,10 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://github.com/strapi/strapi-docker/blob/master/docker-compose.yml",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname-core":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname-core": {
|
||||
"depends_on": [
|
||||
"$$cap_appname-mongo"
|
||||
],
|
||||
|
|
@ -17,8 +14,7 @@
|
|||
"$$cap_appname-data:/usr/src/api/strapi-app"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"APP_NAME": "$$cap_appname",
|
||||
"DATABASE_CLIENT": "mongo",
|
||||
"DATABASE_HOST": "srv-captain--$$cap_appname-mongo",
|
||||
|
|
@ -30,52 +26,48 @@
|
|||
"DATABASE_AUTHENTICATION_DATABASE": "admin"
|
||||
}
|
||||
},
|
||||
"$$cap_appname-mongo":
|
||||
{
|
||||
"$$cap_appname-mongo": {
|
||||
"image": "mongo:$$cap_mongo_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-mongo-data:/data/db",
|
||||
"$$cap_appname-mongo-config:/data/configdb"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"MONGO_INITDB_DATABASE": "strapi",
|
||||
"MONGO_INITDB_ROOT_USERNAME": "root",
|
||||
"MONGO_INITDB_ROOT_PASSWORD": "$$cap_mongo_password"
|
||||
}
|
||||
}
|
||||
},
|
||||
"volumes":
|
||||
{
|
||||
"db_data":
|
||||
{}
|
||||
"volumes": {
|
||||
"db_data": {}
|
||||
}
|
||||
},
|
||||
"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 ",
|
||||
"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."
|
||||
"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 ",
|
||||
"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": [
|
||||
{
|
||||
"id": "$$cap_strapi_version",
|
||||
"label": "Strapi Version",
|
||||
"defaultValue": "v3.0.0-alpha.14.5",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/strapi/strapi/tags/",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_version",
|
||||
"label": "MongoDB Version",
|
||||
"defaultValue": "4",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_password",
|
||||
"label": "MongoDB password",
|
||||
"description": "Only use alphanumeric chars.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_strapi_version",
|
||||
"label": "Strapi Version",
|
||||
"defaultValue": "v3.0.0-alpha.14.5",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/strapi/strapi/tags/",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_version",
|
||||
"label": "MongoDB Version",
|
||||
"defaultValue": "4",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/mongo/tags/",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_mongo_password",
|
||||
"label": "MongoDB password",
|
||||
"description": "Only use alphanumeric chars.",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,31 +1,26 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/r/apsl/thumbor/tags/",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname-db":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname-db": {
|
||||
"image": "apsl/thumbor:$$cap_thumbor_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-thumbor:/data"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"THUMBOR_PORT": "80"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"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!"
|
||||
"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.",
|
||||
"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",
|
||||
"label": "Thumbor Version",
|
||||
"defaultValue": "6.4.2",
|
||||
|
|
@ -33,4 +28,4 @@
|
|||
"validRegex": "/.{1,}/"
|
||||
}]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,17 +1,13 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/r/microsoft/vsts-agent/",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname": {
|
||||
"image": "microsoft/vsts-agent:$$cap_vsts_version",
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"VSTS_ACCOUNT": "$$cap_vsts_account",
|
||||
"VSTS_TOKEN": "$$cap_vsts_token",
|
||||
"VSTS_AGENT": "$$cap_vsts_name",
|
||||
|
|
@ -20,39 +16,39 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"instructions":{
|
||||
"start":"Official image for the Visual Studio Team Services (VSTS) agent.",
|
||||
"end":"VSTS Agent is deployed and available as $$cap_appname"
|
||||
"instructions": {
|
||||
"start": "Official image for the Visual Studio Team Services (VSTS) agent.",
|
||||
"end": "VSTS Agent is deployed and available as $$cap_appname"
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"id": "$$cap_vsts_version",
|
||||
"label": "VSTS Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/microsoft/vsts-agent/tags/",
|
||||
"defaultValue": "latest",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_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",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_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.",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_vsts_name",
|
||||
"label": "VSTS Agent Name",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_vsts_pool",
|
||||
"label": "VSTS Pool",
|
||||
"validRegex": "/.{1,}/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_vsts_version",
|
||||
"label": "VSTS Version Tag",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/microsoft/vsts-agent/tags/",
|
||||
"defaultValue": "latest",
|
||||
"validRegex": "/^([a-zA-Z0-9-.])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_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",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_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.",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_vsts_name",
|
||||
"label": "VSTS Agent Name",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_vsts_pool",
|
||||
"label": "VSTS Pool",
|
||||
"validRegex": "/.{1,}/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,28 +1,23 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://docs.docker.com/compose/wordpress/ port mapping removed from WP as it's not needed",
|
||||
"dockerCompose":
|
||||
{
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname-db":
|
||||
{
|
||||
"services": {
|
||||
"$$cap_appname-db": {
|
||||
"image": "mysql:$$cap_mysql_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-db-data:/var/lib/mysql"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"MYSQL_ROOT_PASSWORD": "$$cap_db_pass",
|
||||
"MYSQL_DATABASE": "wordpress",
|
||||
"MYSQL_USER": "$$cap_db_user",
|
||||
"MYSQL_PASSWORD": "$$cap_db_pass"
|
||||
}
|
||||
},
|
||||
"$$cap_appname-wordpress":
|
||||
{
|
||||
"$$cap_appname-wordpress": {
|
||||
"depends_on": [
|
||||
"$$cap_appname-db"
|
||||
],
|
||||
|
|
@ -31,50 +26,47 @@
|
|||
"$$cap_appname-wp-data:/var/www/html"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"environment": {
|
||||
"WORDPRESS_DB_HOST": "srv-captain--$$cap_appname-db:3306",
|
||||
"WORDPRESS_DB_USER": "$$cap_db_user",
|
||||
"WORDPRESS_DB_PASSWORD": "$$cap_db_pass"
|
||||
}
|
||||
}
|
||||
},
|
||||
"volumes":
|
||||
{
|
||||
"db_data":
|
||||
{}
|
||||
"volumes": {
|
||||
"db_data": {}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"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"
|
||||
"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.",
|
||||
"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": [
|
||||
{
|
||||
"id": "$$cap_db_user",
|
||||
"label": "Database user",
|
||||
"defaultValue": "wordpressuser",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_db_pass",
|
||||
"label": "Database password",
|
||||
"description": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_wp_version",
|
||||
"label": "WordPress Version",
|
||||
"defaultValue": "4.9",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/wordpress/tags/",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"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,}/"
|
||||
}]
|
||||
"variables": [{
|
||||
"id": "$$cap_db_user",
|
||||
"label": "Database user",
|
||||
"defaultValue": "wordpressuser",
|
||||
"validRegex": "/^([a-zA-Z0-9])+$/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_db_pass",
|
||||
"label": "Database password",
|
||||
"description": "",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"id": "$$cap_wp_version",
|
||||
"label": "WordPress Version",
|
||||
"defaultValue": "4.9",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/wordpress/tags/",
|
||||
"validRegex": "/.{1,}/"
|
||||
},
|
||||
{
|
||||
"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,}/"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue