more one click apps added
This commit is contained in:
parent
53b322b44c
commit
da12a977fb
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://docs.docker.com/compose/mysql/ port mapping removed from WP as it's not needed",
|
||||
"dockerCompose":
|
||||
{
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname-db":
|
||||
{
|
||||
"image": "postgres:$$cap_postgres_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-db-data:/var/lib/postgresql/data"
|
||||
],
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"POSTGRES_USER": "$$cap_pg_user",
|
||||
"POSTGRES_PASSWORD": "$$cap_pg_pass",
|
||||
"POSTGRES_DB": "$$cap_pg_db",
|
||||
"POSTGRES_INITDB_ARGS": "$$cap_pg_initdb_args"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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,}/"
|
||||
}]
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/_/adminer except it is manually adjusted for port 80",
|
||||
"dockerCompose":
|
||||
{
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"dockerfileLines": [
|
||||
"FROM redis:$$cap_redis_version",
|
||||
"CMD exec redis-server --requirepass \"$$cap_redis_password\""
|
||||
],
|
||||
"volumes": [
|
||||
"$$cap_appname-redis-data:/data"
|
||||
],
|
||||
"restart": "always",
|
||||
"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'})"
|
||||
},
|
||||
"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-_])+$/"
|
||||
}]
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/r/apsl/thumbor/tags/",
|
||||
"dockerCompose":
|
||||
{
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname-db":
|
||||
{
|
||||
"image": "apsl/thumbor:$$cap_thumbor_version",
|
||||
"volumes": [
|
||||
"$$cap_appname-thumbor:/data"
|
||||
],
|
||||
"restart": "always",
|
||||
"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!"
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"id": "$$cap_thumbor_version",
|
||||
"label": "Thumbor Version",
|
||||
"defaultValue": "6.4.2",
|
||||
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/apsl/thumbor/tags/",
|
||||
"validRegex": "/.{1,}/"
|
||||
}]
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"captainVersion": "1",
|
||||
"documentation": "Taken from https://hub.docker.com/r/microsoft/vsts-agent/",
|
||||
"dockerCompose":
|
||||
{
|
||||
"version": "3.3",
|
||||
"services":
|
||||
{
|
||||
"$$cap_appname":
|
||||
{
|
||||
"image": "microsoft/vsts-agent:$$cap_vsts_version",
|
||||
"restart": "always",
|
||||
"environment":
|
||||
{
|
||||
"VSTS_ACCOUNT": "$$cap_vsts_account",
|
||||
"VSTS_TOKEN": "$$cap_vsts_token",
|
||||
"VSTS_AGENT": "$$cap_vsts_name",
|
||||
"VSTS_POOL": "$$cap_vsts_pool"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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,}/"
|
||||
}]
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue