added optional name values
This commit is contained in:
parent
e265342756
commit
b6f5d4a5b6
|
|
@ -33,15 +33,18 @@
|
|||
apps[i] = apps[i].replace('.json', '');
|
||||
|
||||
if (captainVersion + '' === '2') {
|
||||
if (!content.displayName) content.displayName = apps[i]
|
||||
if (!content.displayName) {
|
||||
content.displayName = apps[i]
|
||||
content.displayName = content.displayName.substr(0, 1).toUpperCase() + content.displayName.substring(1, content.displayName.length)
|
||||
}
|
||||
if (!content.description) content.description = ''
|
||||
|
||||
appDetails[i] = {
|
||||
name: apps[i],
|
||||
displayName: content.displayName,
|
||||
description: content.description,
|
||||
logoUrl: apps[i] + '.png'
|
||||
}
|
||||
appDetails[i] = {
|
||||
name: apps[i],
|
||||
displayName: content.displayName,
|
||||
description: content.description,
|
||||
logoUrl: apps[i] + '.png'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"captainVersion": "2",
|
||||
"documentation": "Taken from https://docs.gitlab.com/omnibus/docker/",
|
||||
"displayName": "",
|
||||
"displayName": "Gitlab (CE)",
|
||||
"description": "CE version of GitLab for CI/CD pipeline",
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"captainVersion": "2",
|
||||
"documentation": "Taken from https://docs.gitlab.com/runner/install/docker.html and https://docs.gitlab.com/runner/register/",
|
||||
"displayName": "",
|
||||
"displayName": "Gitlab (runner)",
|
||||
"description": "Runner version of GitLab for CI/CD pipeline",
|
||||
"dockerCompose": {
|
||||
"version": "3",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"captainVersion": "2",
|
||||
"documentation": "Taken from https://hub.docker.com/_/mongo-express/ except it is manually adjusted for port 80",
|
||||
"displayName": "",
|
||||
"displayName": "Mongo Express",
|
||||
"description": "Web-based MongoDB admin interface, written with Node.js and express",
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"captainVersion": "2",
|
||||
"documentation": "Taken from https://hub.docker.com/r/mongo/",
|
||||
"displayName": "",
|
||||
"displayName": "MongoDB",
|
||||
"description": "MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program",
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"captainVersion": "2",
|
||||
"documentation": "Taken from https://hub.docker.com/_/microsoft-mssql-server",
|
||||
"displayName": "",
|
||||
"displayName": "Microsoft SQL",
|
||||
"description": "Microsoft SQL Server is a relational database management system developed by Microsoft",
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"captainVersion": "2",
|
||||
"documentation": "Taken from https://docs.docker.com/compose/mysql/ port mapping removed from WP as it's not needed",
|
||||
"displayName": "",
|
||||
"displayName": "MySQL",
|
||||
"description": "MySQL is a relational database management system based on SQL",
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"captainVersion": "2",
|
||||
"documentation": "Taken from https://github.com/caprover/nginx-reverse-proxy",
|
||||
"displayName": "",
|
||||
"displayName": "Nginx Reverse Proxy",
|
||||
"description": "A simple nginx image preloaded with reverse proxy config that allows you to proxy a URL to another URL",
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"captainVersion": "2",
|
||||
"documentation": "Taken from https://hub.docker.com/r/microsoft/vsts-agent/",
|
||||
"displayName": "",
|
||||
"displayName": "VSTS",
|
||||
"description": "VSTS is an integrated development environment (IDE) developed as a software product by Microsoft Corp",
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"captainVersion": "2",
|
||||
"documentation": "Taken from https://docs.docker.com/compose/wordpress/. Port mapping removed from WP as it is no longer needed",
|
||||
"displayName": "",
|
||||
"displayName": "WordPress",
|
||||
"description": "WordPress is a content management system based on PHP and MySQL that is usually used with the MySQL or MariaDB database",
|
||||
"dockerCompose": {
|
||||
"version": "3.3",
|
||||
|
|
|
|||
Loading…
Reference in New Issue