Permalink
Switch branches/tags
Find file Copy path
2578 lines (2577 sloc) 67.8 KB
[
{
"id": "simple-theia-docker",
"creator": "ide",
"name": "Theia IDE on docker",
"description": "Theia in a sidecar container (docker)",
"scope": "general",
"tags": [
"Theia",
"CentOS"
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"theia": {
"servers": {
"theia": {
"attributes": {
"type": "ide"
},
"protocol": "http",
"port": "3100",
"path": "/"
},
"theia-dev": {
"attributes": {
"type": "ide-dev"
},
"protocol": "http",
"port": "3130"
}
},
"installers": [],
"volumes": {
"projects": {
"path": "/projects"
}
},
"env": {
"CHE_MACHINE_NAME": "theia",
"HOSTED_PLUGIN_HOSTNAME": "0.0.0.0"
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
},
"machine-exec": {
"servers": {
"machine-exec": {
"attributes": {
"type": "terminal"
},
"protocol": "ws",
"port": "4444"
}
},
"installers": []
}
},
"recipe": {
"contentType": "application/x-yaml",
"type": "compose",
"content": "services:\n machine-exec:\n image: 'wsskeleton/che-machine-exec:latest'\n mem_limit: 536870912\n theia:\n image: 'eclipse/che-theia:plugin-id-nightly'\n mem_limit: 1073741824\n depends_on:\n - machine-exec\n"
}
}
},
"defaultEnv": "default",
"name": "theia",
"projects": [],
"commands": []
},
"stackIcon": {
"name": "type-theia.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "java-theia-openshift",
"creator": "ide",
"name": "Java Theia on OpenShift",
"description": "Che development + Theia in a sidecar container (openshift)",
"scope": "general",
"tags": [
"Java 1.8",
"Theia",
"Alpine",
"CentOS"
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"ws/theia": {
"attributes": {},
"servers": {
"theia": {
"protocol": "http",
"port": "3100",
"path": "/",
"attributes": {
"type": "ide",
"cookiesAuthEnabled": "true",
"secure": "true"
}
},
"theia-dev": {
"protocol": "http",
"port": "3130",
"attributes": {
"type": "ide-dev"
}
}
},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {
"HOSTED_PLUGIN_HOSTNAME": "0.0.0.0"
}
},
"ws/dev": {
"attributes": {},
"servers": {},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {}
},
"ws/machine-exec": {
"servers": {
"machine-exec": {
"attributes": {
"type": "terminal"
},
"protocol": "ws",
"port": "4444"
}
},
"installers": []
}
},
"recipe": {
"type": "openshift",
"content": "---\nkind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n - \n image: 'eclipse/che-theia:plugin-id-nightly'\n name: theia\n mem_limit: 1073741824\n resources:\n limits:\n memory: 1024Mi\n - \n image: 'eclipse/che-dev:nightly'\n name: dev\n mem_limit: 1073741824\n resources:\n limits:\n memory: 1536Mi\n - \n image: 'wsskeleton/che-machine-exec:latest'\n name: machine-exec\n mem_limit: 536870912\n resources:\n limits:\n memory: 512Mi\n",
"contentType": "application/x-yaml"
}
}
},
"defaultEnv": "default",
"name": "theia",
"projects": [],
"commands": []
},
"stackIcon": {
"name": "type-theia.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "java-theia-kubernetes",
"creator": "ide",
"name": "Java Theia on Kubernetes",
"description": "Che development + Theia in a sidecar container (kubernetes)",
"scope": "general",
"tags": [
"Java 1.8",
"Theia",
"Alpine",
"CentOS"
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"ws/theia": {
"attributes": {},
"servers": {
"theia": {
"protocol": "http",
"port": "3100",
"path": "/",
"attributes": {
"type": "ide",
"cookiesAuthEnabled": "true",
"secure": "true"
}
},
"theia-dev": {
"protocol": "http",
"port": "3130",
"attributes": {
"type": "ide-dev"
}
}
},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {
"HOSTED_PLUGIN_HOSTNAME": "0.0.0.0"
}
},
"ws/dev": {
"attributes": {},
"servers": {},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {}
},
"ws/machine-exec": {
"servers": {
"machine-exec": {
"attributes": {
"type": "terminal"
},
"protocol": "ws",
"port": "4444"
}
},
"installers": []
}
},
"recipe": {
"type": "kubernetes",
"content": "---\nkind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n - \n image: 'eclipse/che-theia:plugin-id-nightly'\n name: theia\n resources:\n limits:\n memory: 1024Mi\n - \n image: 'eclipse/che-dev:nightly'\n name: dev\n resources:\n limits:\n memory: 1536Mi\n - \n image: 'wsskeleton/che-machine-exec:latest'\n name: machine-exec\n resources:\n limits:\n memory: 512Mi\n",
"contentType": "application/x-yaml"
}
}
},
"defaultEnv": "default",
"name": "theia",
"projects": [],
"commands": []
},
"stackIcon": {
"name": "type-theia.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "java-mysql-theia-kubernetes",
"creator": "ide",
"name": "Java and MySQL with Theia IDE on Kubernetes",
"description": "Multi Container Workspace - Java with MySQL database in Theia IDE",
"scope": "general",
"tags": [
"Java 1.8",
"Theia",
"MySQL"
],
"workspaceConfig": {
"environments": {
"default": {
"recipe": {
"contentType": "text/x-yaml",
"type": "kubernetes",
"content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: web\n labels:\n type: db\n spec:\n containers:\n - \n image: registry.centos.org/che-stacks/centos-jdk8\n name: dev\n ports:\n - \n containerPort: 8080\n protocol: TCP\n resources:\n limits:\n memory: 512Mi\n - \n image: centos/mysql-57-centos7\n name: mysql\n ports:\n - \n name: mysql\n containerPort: 3306\n protocol: TCP\n env:\n - \n name: MYSQL_USER\n value: petclinic\n - \n name: MYSQL_ROOT_PASSWORD\n value: password\n - \n name: MYSQL_PASSWORD\n value: password\n - \n name: MYSQL_DATABASE\n value: petclinic\n resources:\n limits:\n memory: 256Mi\n - \n apiVersion: v1\n kind: Service\n metadata:\n name: db\n spec:\n selector:\n type: db\n ports:\n - \n name: mysql\n port: 3306\n protocol: TCP\n targetPort: mysql\n"
},
"machines": {
"web/dev": {
"servers": {
"tomcat8": {
"attributes": {},
"protocol": "http",
"port": "8080/tcp"
}
},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {},
"attributes": {}
},
"web/mysql": {
"servers": {
"mysql": {
"attributes": {},
"port": "3306",
"protocol": "tcp"
}
},
"volumes": {},
"installers": [],
"env": {},
"attributes": {}
}
}
}
},
"defaultEnv": "default",
"name": "default",
"projects": [],
"commands": [
{
"commandLine": "cd /projects && git clone https://github.com/che-samples/web-java-spring-petclinic.git && cd web-java-spring-petclinic && git checkout mysql",
"name": "clone petclinic sample project",
"attributes": {
"machineName": "web/dev",
"previewUrl": "",
"goal": "Run"
},
"type": "custom"
},
{
"commandLine": "/opt/rh/rh-maven33/enable && mvn clean install -f ${current.project.path}",
"name": "build",
"type": "mvn",
"attributes": {
"machineName": "web/dev",
"previewUrl": "",
"goal": "Build"
}
},
{
"commandLine": "cd ${current.project.path}/target/ && cp *.war ${TOMCAT_HOME}/webapps/ROOT.war",
"name": "deploy",
"type": "custom",
"attributes": {
"machineName": "web/dev",
"previewUrl": "",
"goal": "Build"
}
},
{
"commandLine": "/opt/rh/rh-maven33/enable && mvn clean install -f ${current.project.path} && cd ${current.project.path}/target/ && cp *.war ${TOMCAT_HOME}/webapps/ROOT.war",
"name": "build and deploy",
"type": "custom",
"attributes": {
"machineName": "web/dev",
"previewUrl": "${server.tomcat8}",
"goal": "Build"
}
},
{
"commandLine": "${TOMCAT_HOME}/bin/catalina.sh run 2>&1",
"name": "start Tomcat",
"type": "custom",
"attributes": {
"machineName": "web/dev",
"previewUrl": "${server.tomcat8}",
"goal": "Run"
}
},
{
"commandLine": "${TOMCAT_HOME}/bin/catalina.sh stop",
"name": "stop Tomcat",
"type": "custom",
"attributes": {
"machineName": "web/dev",
"previewUrl": "",
"goal": "Run"
}
},
{
"commandLine": "/opt/rh/rh-maven33/enable && mvn clean install -f ${current.project.path} && cd ${current.project.path}/target/ && cp *.war ${TOMCAT_HOME}/webapps/ROOT.war && ${TOMCAT_HOME}/bin/catalina.sh run 2>&1",
"name": "build, deploy and start Tomcat",
"type": "custom",
"attributes": {
"machineName": "web/dev",
"previewUrl": "${server.tomcat8}",
"goal": "Run"
}
},
{
"commandLine": "mysql -u $MYSQL_USER -p$MYSQL_PASSWORD --database=$MYSQL_DATABASE",
"name": "open database command line",
"type": "custom",
"attributes": {
"machineName": "web/mysql",
"previewUrl": "",
"goal": "Run"
}
}
],
"attributes": {
"plugins": "che-machine-exec-plugin:0.0.1",
"editor": "org.eclipse.che.editor.theia:1.0.0"
},
"links": []
},
"components": []
},
{
"id": "che7-preview",
"creator": "ide",
"name": "Che 7",
"description": "Workspace.next sidecars and Theia as IDE",
"scope": "general",
"tags": [
"ws.next",
"Theia",
"Java",
"JDK",
"Node.JS",
"NPM",
"Yeoman"
],
"components": [
{
"name": "Centos",
"version": "7"
},
{
"name": "OpenJDK",
"version": "1.8.0_181"
},
{
"name": "NodeJS",
"version": "8.12.0"
},
{
"name": "NPM",
"version": "6.4.1"
}
],
"workspaceConfig": {
"name": "che7",
"defaultEnv": "default",
"environments": {
"default": {
"machines": {
"ws/dev": {
"attributes": {
"memoryLimitBytes": "536870912"
},
"servers": {},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {}
}
},
"recipe": {
"type": "kubernetes",
"content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n - \n image: 'eclipse/che-dev:nightly'\n name: dev\n resources:\n limits:\n memory: 512Mi\n",
"contentType": "application/x-yaml"
}
}
},
"projects": [],
"attributes": {
"editor": "org.eclipse.che.editor.theia:1.0.0",
"plugins": "che-machine-exec-plugin:0.0.1"
},
"commands": [],
"links": []
},
"stackIcon": {
"name": "type-che7.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "che7-preview-plugin-dev",
"creator": "ide",
"name": "Che 7 Dev",
"description": "Workspace.next sidecars and Theia as IDE with the tooling for plugin development",
"scope": "general",
"tags": [
"ws.next",
"Theia",
"Java",
"JDK",
"Node.JS",
"NPM",
"Yeoman"
],
"components": [
{
"name": "Centos",
"version": "7"
},
{
"name": "OpenJDK",
"version": "1.8.0_181"
},
{
"name": "NodeJS",
"version": "8.12.0"
},
{
"name": "NPM",
"version": "6.4.1"
}
],
"workspaceConfig": {
"name": "che7-preview-plugin-dev",
"defaultEnv": "default",
"environments": {
"default": {
"machines": {
"ws/dev": {
"attributes": {
"memoryLimitBytes": "536870912"
},
"servers": {},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {}
}
},
"recipe": {
"type": "kubernetes",
"content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n - \n image: 'wsskeleton/che-plugin-dev-tooling'\n name: dev\n resources:\n limits:\n memory: 512Mi\n",
"contentType": "application/x-yaml"
}
}
},
"projects": [],
"attributes": {
"editor": "org.eclipse.che.editor.theia:1.0.0",
"plugins": "che-machine-exec-plugin:0.0.1"
},
"commands": [
{
"commandLine": "echo ${CHE_OSO_CLUSTER//api/console}",
"name": "Get OpenShift Console URL",
"type": "custom",
"attributes": {}
}
],
"links": []
},
"stackIcon": {
"name": "type-che7.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "java-centos-mysql",
"creator": "ide",
"name": "Java-MySQL CentOS",
"description": "Multi-machine environment with Java CentOS and MySQL database",
"scope": "advanced",
"tags": [
"Java 1.8, Tomcat 8, MySQL 5.7"
],
"components": [],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {
"tomcat8": {
"port": "8080",
"protocol": "http"
},
"tomcat8-debug": {
"port": "8000",
"protocol": "http"
}
},
"attributes": {},
"volumes": {
"m2": {
"path": "/home/user/.m2"
},
"javadata": {
"path": "/home/user/jdtls/data"
}
}
},
"db": {
"installers": [
"org.eclipse.che.terminal",
"org.eclipse.che.exec"
],
"servers": {
"mysql": {
"port": "3306",
"protocol": "tcp"
}
},
"attributes": {}
}
},
"recipe": {
"content": "services:\n db:\n image: centos/mysql-57-centos7\n environment:\n MYSQL_ROOT_PASSWORD: password\n MYSQL_DATABASE: petclinic\n MYSQL_USER: petclinic\n MYSQL_PASSWORD: password\n mem_limit: 1073741824\n dev-machine:\n image: registry.centos.org/che-stacks/centos-jdk8\n mem_limit: 2147483648\n depends_on:\n - db",
"contentType": "application/x-yaml",
"type": "compose"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"commandLine": "mvn clean install -f ${current.project.path}",
"name": "build",
"type": "mvn"
},
{
"commandLine": "mysql -u $MYSQL_USER -p$MYSQL_PASSWORD -e 'show databases;'",
"name": "show databases",
"type": "custom"
}
]
},
"stackIcon": {
"name": "type-java-mysql.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "java-mysql",
"creator": "ide",
"name": "Java-MySQL",
"description": "Multi-machine environment with Default Java Stack and MySQL database",
"scope": "general",
"tags": [
"Java 1.8, Tomcat 8, MySQL 5.7"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "JDK",
"version": "1.8.0_162"
},
{
"name": "Maven",
"version": "3.3.9"
},
{
"name": "Tomcat",
"version": "8.0.24"
},
{
"name": "MySQL",
"version": "5.7.19"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {
"tomcat8": {
"port": "8080",
"protocol": "http"
},
"tomcat8-debug": {
"port": "8000",
"protocol": "http"
},
"codeserver": {
"port": "9876",
"protocol": "http"
}
},
"attributes": {},
"volumes": {
"m2": {
"path": "/home/user/.m2"
},
"javadata": {
"path": "/home/user/jdtls/data"
}
}
},
"db": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal"
],
"servers": {
"mysql": {
"port": "3306",
"protocol": "tcp"
}
},
"attributes": {}
}
},
"recipe": {
"content": "services:\n db:\n image: eclipse/mysql\n environment:\n MYSQL_ROOT_PASSWORD: password\n MYSQL_DATABASE: petclinic\n MYSQL_USER: petclinic\n MYSQL_PASSWORD: password\n mem_limit: 1073741824\n dev-machine:\n image: eclipse/ubuntu_jdk8\n mem_limit: 2147483648\n depends_on:\n - db",
"contentType": "application/x-yaml",
"type": "compose"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"commandLine": "mysql -u $MYSQL_USER -p$MYSQL_PASSWORD -e 'show databases;'",
"name": "show databases",
"type": "custom"
}
]
},
"stackIcon": {
"name": "type-java-mysql.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "java-default",
"creator": "ide",
"name": "Java",
"description": "Default Java Stack with JDK 8, Maven and Tomcat.",
"scope": "general",
"tags": [
"Java",
"JDK",
"Maven",
"Tomcat"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "JDK",
"version": "1.8.0_162"
},
{
"name": "Maven",
"version": "3.3.9"
},
{
"name": "Tomcat",
"version": "8.0.24"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {
"tomcat8": {
"port": "8080",
"protocol": "http"
},
"tomcat8-debug": {
"port": "8000",
"protocol": "http"
},
"codeserver": {
"port": "9876",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
},
"volumes": {
"m2": {
"path": "/home/user/.m2"
},
"javadata": {
"path": "/home/user/jdtls/data"
}
}
}
},
"recipe": {
"content": "eclipse/ubuntu_jdk8",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"commandLine": "mvn clean install -f ${current.project.path}",
"name": "build",
"type": "mvn",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
}
]
},
"stackIcon": {
"name": "type-java.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "blank-default",
"creator": "ide",
"name": "Blank",
"description": "Default Blank Stack.",
"scope": "general",
"tags": [
"Blank",
"Ubuntu",
"Git"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "JDK",
"version": "1.8.0_162"
},
{
"name": "Maven",
"version": "3.3.9"
},
{
"name": "Tomcat",
"version": "8.0.24"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent"
],
"servers": {
"tomcat8": {
"port": "8080",
"protocol": "http"
},
"tomcat8-debug": {
"port": "8000",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "eclipse/ubuntu_jdk8",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null
},
"stackIcon": {
"name": "type-blank.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "android-default",
"creator": "ide",
"name": "Android",
"description": "Default Android Stack with Java 1.8 and Android SDK",
"scope": "general",
"tags": [
"Android"
],
"components": [
{
"name": "Centos",
"version": "7"
},
{
"name": "JDK",
"version": "1.8.0_144"
},
{
"name": "Maven",
"version": "3.5.3"
},
{
"name": "Android API",
"version": "21"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {
"VNC": {
"port": "6091",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "eclipse/android",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"commandLine": "mvn clean install -f ${current.project.path}",
"name": "build",
"type": "mvn",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
}
]
},
"stackIcon": {
"name": "type-android.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "cpp-default",
"creator": "ide",
"name": "C++",
"description": "Default C++ Stack with C++, gcc 4.8.4, GNU Make 3.81.",
"scope": "general",
"tags": [
"C++",
"gcc",
"make"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "JDK",
"version": "1.8.0_162"
},
{
"name": "G++",
"version": "5.4.0"
},
{
"name": "GCC",
"version": "5.4.0"
},
{
"name": "Make",
"version": "4.1"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent"
],
"servers": {},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "eclipse/cpp_gcc",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"name": "run",
"type": "custom",
"commandLine": "cd ${current.project.path} && make && ./a.out",
"attributes": {
"previewUrl": "",
"goal": "Run"
}
}
]
},
"stackIcon": {
"name": "type-cpp.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "dotnet-default",
"creator": "ide",
"name": ".NET",
"description": "Default .NET 2.0.0 Stack with .NET Core SDK",
"scope": "general",
"tags": [
"Dotnet"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "Dotnet",
"version": "2.0.0"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.csharp"
],
"servers": {
"dotnet": {
"port": "5000",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "eclipse/dotnet_core",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"name": "update dependencies",
"type": "custom",
"commandLine": "cd ${current.project.path} && dotnet restore",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
},
{
"name": "run",
"type": "custom",
"commandLine": "cd ${current.project.path} && dotnet run",
"attributes": {
"previewUrl": "${server.dotnet}",
"goal": "Run"
}
}
]
},
"stackIcon": {
"name": "type-dotnet.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "go-default",
"creator": "ide",
"name": "Go",
"description": "Default Go Stack with Go 1.10.2",
"scope": "general",
"tags": [
"Go"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "Go",
"version": "1.10.2"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.golang"
],
"servers": {
"8080/tcp": {
"port": "8080",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "eclipse/ubuntu_go",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"name": "run",
"type": "custom",
"commandLine": "cd ${current.project.path} && go get -d && go run main.go",
"attributes": {
"previewUrl": "${server.8080/tcp}",
"goal": "Run"
}
},
{
"name": "test",
"type": "custom",
"commandLine": "cd ${current.project.path} && go get -d && go test",
"attributes": {
"previewUrl": "${server.8080/tcp}",
"goal": "Test"
}
},
{
"name": "build",
"type": "custom",
"commandLine": "cd ${current.project.path} && go get -d && go build",
"attributes": {
"previewUrl": "${server.8080/tcp}",
"goal": "Build"
}
}
]
},
"stackIcon": {
"name": "type-go.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "node-default",
"creator": "ide",
"name": "Node",
"description": "Default Node Stack with Node 8",
"scope": "general",
"tags": [
"Node.JS",
"NPM",
"Gulp",
"Bower",
"Grunt",
"Yeoman",
"Angular",
"Karma"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "NodeJS",
"version": "8.11.2"
},
{
"name": "NPM",
"version": "5.6.0"
},
{
"name": "Typerscript",
"version": "2.8.3"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent"
],
"servers": {
"3000/tcp": {
"port": "3000",
"protocol": "http"
},
"5000/tcp": {
"port": "5000",
"protocol": "http"
},
"9000/tcp": {
"port": "9000",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "eclipse/node",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null
},
"stackIcon": {
"name": "type-node.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "php-default",
"creator": "ide",
"name": "PHP",
"description": "Default PHP Stack with PHP 7.0, most popular extensions.",
"scope": "general",
"tags": [
"PHP",
"mysql",
"sqlite",
"Apache"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "PHP",
"version": "7.0.30"
},
{
"name": "Composer",
"version": "1.6.5"
},
{
"name": "MySQL",
"version": "5.7.22"
},
{
"name": "Zend Debugger",
"version": "9.0.1"
},
{
"name": "Apache",
"version": "2.4.18"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.php",
"org.eclipse.che.ls.json"
],
"servers": {
"8080/tcp": {
"port": "8080",
"protocol": "http"
},
"8000/tcp": {
"port": "8000",
"protocol": "http"
},
"80/tcp": {
"port": "80",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "eclipse/php",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"name": "run php script",
"type": "custom",
"commandLine": "[ -z ${editor.current.file.path} ] && echo \"Open a PHP file in the editor before executing this command.\" || php ${editor.current.file.path}",
"attributes": {
"previewUrl": "",
"goal": "Run"
}
},
{
"name": "debug php script",
"type": "custom",
"commandLine": "[ -z ${editor.current.file.path} ] && echo \"Open a PHP file in the editor before executing this command.\" || QUERY_STRING=\"start_debug=1&debug_host=localhost&debug_port=10137\" php ${editor.current.file.path}",
"attributes": {
"previewUrl": "",
"goal": "Debug"
}
},
{
"name": "start apache",
"type": "custom",
"commandLine": "service apache2 start && tail -f /var/log/apache2/access.log -f /var/log/apache2/error.log",
"attributes": {
"previewUrl": "${server.80/tcp}/${current.project.relpath}",
"goal": "Run"
}
},
{
"name": "stop apache",
"type": "custom",
"commandLine": "service apache2 stop",
"attributes": {
"previewUrl": "",
"goal": "Run"
}
},
{
"name": "restart apache",
"type": "custom",
"commandLine": "service apache2 restart",
"attributes": {
"previewUrl": "${server.80/tcp}/${current.project.relpath}",
"goal": "Run"
}
}
]
},
"stackIcon": {
"name": "type-php.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "python-default",
"creator": "ide",
"name": "Python",
"description": "Default Python Stack with Python 3.5.1, pip 8.1.1.",
"scope": "general",
"tags": [
"Python 3.5",
"pip"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "Python",
"version": "3.5.1"
},
{
"name": "PIP",
"version": "10.0.1"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.python"
],
"servers": {
"8080/tcp": {
"port": "8080",
"protocol": "http"
},
"8000/tcp": {
"port": "8000",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "eclipse/ubuntu_python:latest",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"name": "run",
"type": "custom",
"commandLine": "cd ${current.project.path} && python main.py",
"attributes": {
"previewUrl": "",
"goal": "Run"
}
}
]
},
"stackIcon": {
"name": "type-python.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "rails-default",
"creator": "ide",
"name": "Rails",
"description": "Default Rails Stack with Ruby 2.4.4, Rails 5.0.1, Bundler 1.16.2.",
"scope": "general",
"tags": [
"Ruby",
"Rails",
"Bundler"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "Ruby",
"version": "2.4.4"
},
{
"name": "Rails",
"version": "5.0.1"
},
{
"name": "Bundler",
"version": "1.16.2"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent"
],
"servers": {
"3000/tcp": {
"port": "3000",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "eclipse/ruby_rails",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"name": "install dependencies",
"type": "custom",
"commandLine": "cd ${current.project.path} && bundle install",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
},
{
"name": "run",
"type": "custom",
"commandLine": "cd ${current.project.path} && rails server -b 0.0.0.0",
"attributes": {
"previewUrl": "${server.3000/tcp}",
"goal": "Run"
}
}
]
},
"stackIcon": {
"name": "type-ruby.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "java-centos",
"creator": "ide",
"name": "Java CentOS",
"description": "Java JDK Stack on CentOS.",
"scope": "advanced",
"tags": [
"Java",
"JDK",
"Maven"
],
"components": [
{
"name": "Centos",
"version": "7"
},
{
"name": "OpenJDK",
"version": "1.8.0_144"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {
"tomcat8": {
"port": "8080",
"protocol": "http"
},
"tomcat8-debug": {
"port": "8000",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "registry.centos.org/che-stacks/centos-jdk8",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"commandLine": "mvn clean install -f ${current.project.path}",
"name": "build",
"type": "mvn",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
}
]
},
"stackIcon": {
"name": "type-java.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "vert.x",
"creator": "Clement Escoffier",
"name": "Eclipse Vert.x",
"description": "Eclipse Vert.x Stack on CentOS with OpenJDK and Maven",
"scope": "advanced",
"tags": [
"Vert.x"
],
"components": [
{
"name": "CentOS",
"version": "7"
},
{
"name": "OpenJDK",
"version": "1.8.0_161"
},
{
"name": "RH-Maven",
"version": "3.3.9"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {
"vertx": {
"port": "8080",
"protocol": "http"
},
"tomcat8-debug": {
"port": "8000",
"protocol": "http"
},
"vertx-debug": {
"port": "5005",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
},
"volumes": {
"m2": {
"path": "/home/user/.m2"
},
"javadata": {
"path": "/home/user/jdtls/data"
}
}
}
},
"recipe": {
"content": "registry.centos.org/che-stacks/vertx",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"commandLine": "MAVEN_OPTS='-Xmx100m' && scl enable rh-maven33 'mvn clean install -f ${current.project.path}'",
"name": "build",
"type": "mvn",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
},
{
"commandLine": "scl enable rh-maven33 'mvn compile vertx:run -f ${current.project.path} -Dvertx.disableDnsResolver=true'",
"name": "run",
"type": "custom",
"attributes": {
"previewUrl": "${server.vertx}",
"goal": "Run"
}
},
{
"commandLine": "scl enable rh-maven33 'mvn compile vertx:debug -f ${current.project.path} -Dvertx.disableDnsResolver=true'",
"name": "debug",
"type": "custom",
"attributes": {
"previewUrl": "${server.vertx}",
"goal": "Debug"
}
}
]
},
"stackIcon": {
"name": "type-java.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "spring-boot",
"creator": "Gytis Trikleris",
"name": "Spring Boot",
"description": "Spring Boot Stack on CentOS.",
"scope": "advanced",
"tags": [
"Spring Boot"
],
"components": [
{
"name": "CentOS",
"version": "7"
},
{
"name": "OpenJDK",
"version": "1.8.0_161"
},
{
"name": "RH-Maven",
"version": "3.3.9"
}
],
"workspaceConfig": {
"name": "default",
"defaultEnv": "default",
"environments": {
"default": {
"recipe": {
"content": "registry.centos.org/che-stacks/spring-boot",
"type": "dockerimage"
},
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {
"springboot": {
"port": "8080",
"protocol": "http"
},
"tomcat8-debug": {
"port": "8000",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
},
"volumes": {
"m2": {
"path": "/home/user/.m2"
},
"javadata": {
"path": "/home/user/jdtls/data"
}
}
}
}
}
},
"commands": [
{
"commandLine": "MAVEN_OPTS='-Xmx100m' && scl enable rh-maven33 'mvn install -f ${current.project.path}'",
"name": "build",
"type": "mvn",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
},
{
"commandLine": "MAVEN_OPTS='-Xmx100m' && scl enable rh-maven33 'mvn clean install -f ${current.project.path}'",
"name": "clean build",
"type": "mvn",
"attributes": {
"previewUrl": "",
"goal": "Build"
}
},
{
"commandLine": "scl enable rh-maven33 'mvn compile spring-boot:run -f ${current.project.path}'",
"name": "run",
"type": "custom",
"attributes": {
"previewUrl": "${server.springboot}",
"goal": "Run"
}
},
{
"commandLine": "scl enable rh-maven33 'mvn spring-boot:run -Drun.jvmArguments=\"-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005\" -f ${current.project.path}'",
"name": "debug",
"type": "custom",
"attributes": {
"previewUrl": "${server.springboot}",
"goal": "Debug"
}
}
]
},
"stackIcon": {
"name": "type-spring-boot.svg",
"mediaType": "image/svg+xml"
}
},
{
"name": "CentOS WildFly Swarm",
"id": "wildfly-swarm",
"creator": "Dharmit Shah",
"description": "Eclipse WildFly Swarm Stack on CentOS.",
"scope": "advanced",
"tags": [
"WildFly Swarm"
],
"components": [
{
"name": "CentOS",
"version": "7"
},
{
"name": "OpenJDK",
"version": "1.8.0_161"
},
{
"name": "RH-Maven",
"version": "3.3.9"
}
],
"workspaceConfig": {
"name": "default",
"environments": {
"default": {
"recipe": {
"content": "registry.centos.org/che-stacks/wildfly-swarm",
"type": "dockerimage"
},
"machines": {
"dev-machine": {
"attributes": {
"memoryLimitBytes": "2147483648"
},
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {
"wildfly": {
"port": "8080",
"protocol": "http"
},
"tomcat8-debug": {
"port": "8000",
"protocol": "http"
}
},
"volumes": {
"m2": {
"path": "/home/user/.m2"
},
"javadata": {
"path": "/home/user/jdtls/data"
}
}
}
}
}
},
"commands": [
{
"name": "build",
"type": "mvn",
"attributes": {
"previewUrl": "",
"goal": "Build"
},
"commandLine": "export MAVEN_OPTS='-Xms20m'\nscl enable rh-maven33 'mvn clean install -f ${current.project.path} -DskipTests'"
},
{
"name": "run",
"type": "custom",
"attributes": {
"previewUrl": "${server.wildfly}",
"goal": "Run"
},
"commandLine": "cd ${current.project.path}\nscl enable rh-maven33 'java -jar target/*-thorntail.jar -Djava.net.preferIPv4Stack=true'"
}
],
"projects": [],
"defaultEnv": "default",
"links": []
}
},
{
"name": "CentOS nodejs",
"id": "nodejs6",
"scope": "advanced",
"description": "CentOS Node Stack",
"tags": [
"CentOS",
"Git",
"Node.JS",
"NPM",
"Gulp",
"Bower",
"Grunt",
"Yeoman",
"Angular",
"Karma"
],
"workspaceConfig": {
"name": "default",
"environments": {
"default": {
"recipe": {
"content": "registry.centos.org/che-stacks/centos-nodejs",
"type": "dockerimage"
},
"machines": {
"dev-machine": {
"attributes": {
"memoryLimitBytes": "2147483648"
},
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent"
],
"servers": {
"angular": {
"port": "8003",
"protocol": "http"
},
"3000/tcp": {
"port": "3000",
"protocol": "http"
},
"9000/tcp": {
"port": "9000",
"protocol": "http"
},
"8080/tcp": {
"port": "8080",
"protocol": "http"
}
}
}
}
}
},
"commands": [
{
"name": "run",
"type": "custom",
"attributes": {
"goal": "Run",
"previewUrl": "${server.8080/tcp}"
},
"commandLine": "cd ${current.project.path} && scl enable rh-nodejs6 'node .'"
}
],
"projects": [],
"defaultEnv": "default",
"links": []
},
"components": [
{
"name": "CentOS",
"version": "7"
},
{
"name": "OpenJDK",
"version": "1.8.0_161"
},
{
"name": "RH-Maven",
"version": "3.3.9"
},
{
"name": "NodeJS",
"version": "6.11.3"
},
{
"name": "NPM",
"version": "3.10.9"
}
],
"creator": "ide"
},
{
"id": "kotlin-default",
"creator": "ide",
"name": "Kotlin",
"description": "Ubuntu based stack with Kotlin 1.2.50-eap-62",
"scope": "advanced",
"tags": [
"Kotlin",
"Ubuntu"
],
"components": [
{
"name": "Ubuntu",
"version": "16.04"
},
{
"name": "Kotlin",
"version": "1.2.50-eap-62"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {},
"attributes": {
"memoryLimitBytes": "2147483648"
},
"volumes": {
"m2": {
"path": "/home/user/.m2"
},
"javadata": {
"path": "/home/user/jdtls/data"
}
}
}
},
"recipe": {
"content": "eclipse/kotlin",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null
}
},
{
"id": "centos-go",
"creator": "ide",
"name": "CentOS Go",
"description": "CentOS based Go Stack",
"scope": "advanced",
"tags": [
"CentOS",
"Go"
],
"components": [
{
"name": "Centos",
"version": "7"
},
{
"name": "Golang",
"version": "1.9.4"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"servers": {
"8080/tcp": {
"port": "8080",
"protocol": "http"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
},
"volumes": {
"m2": {
"path": "/home/user/.m2"
},
"javadata": {
"path": "/home/user/jdtls/data"
}
}
}
},
"recipe": {
"content": "registry.centos.org/che-stacks/centos-go",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null,
"commands": [
{
"name": "run",
"type": "custom",
"commandLine": "cd ${current.project.path} && go get -d && go run main.go",
"attributes": {
"previewUrl": "${server.8080/tcp}",
"goal": "Run"
}
}
]
},
"stackIcon": {
"name": "type-go.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "centos",
"creator": "ide",
"name": "CentOS blank",
"description": "CentOS Blank Stack",
"scope": "advanced",
"tags": [
"Blank",
"CentOS"
],
"components": [
{
"name": "Centos",
"version": "7"
},
{
"name": "OpenJDK",
"version": "1.8.0_161"
}
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"dev-machine": {
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent"
],
"servers": {},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
},
"recipe": {
"content": "registry.centos.org/che-stacks/centos-stack-base",
"type": "dockerimage"
}
}
},
"name": "default",
"defaultEnv": "default",
"description": null
},
"stackIcon": {
"name": "type-blank.svg",
"mediaType": "image/svg+xml"
}
},
{
"description": "Ceylon stack with Java, JavaScript and Dart backends on CentOS.",
"creator": "ide",
"scope": "advanced",
"name": "Ceylon with Java JavaScript Dart on CentOS",
"id": "ceylon-java-javascript-dart-centos",
"components": [
{
"name": "Centos",
"version": "7"
},
{
"name": "Ceylon",
"version": "1.3.2"
}
],
"tags": [
"Ceylon",
"Dart"
],
"workspaceConfig": {
"defaultEnv": "default",
"environments": {
"default": {
"machines": {
"dev-machine": {
"attributes": {
"memoryLimitBytes": "2147483648"
},
"servers": {
"tomcat8": {
"port": "8080",
"protocol": "http"
},
"tomcat8-debug": {
"port": "8000",
"protocol": "http"
}
},
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.json"
]
}
},
"recipe": {
"content": "registry.centos.org/che-stacks/centos-ceylon-nodejs-dart",
"type": "dockerimage"
}
}
},
"projects": [],
"name": "default",
"commands": [
{
"commandLine": "rm -Rf ${current.project.path}/modules ",
"name": "clean modules",
"attributes": {
"goal": "Build",
"previewUrl": ""
},
"type": "custom"
},
{
"commandLine": "cd ${current.project.path} && ceylon compile",
"name": "compile for JVM",
"attributes": {
"goal": "Build",
"previewUrl": ""
},
"type": "custom"
},
{
"commandLine": "cd ${current.project.path} && ceylon compile-js",
"name": "compile for JS",
"attributes": {
"goal": "Build",
"previewUrl": ""
},
"type": "custom"
},
{
"commandLine": "cd ${current.project.path} && ceylon compile-dart",
"name": "compile for Dart",
"attributes": {
"goal": "Build",
"previewUrl": ""
},
"type": "custom"
},
{
"commandLine": "cd ${current.project.path} && ceylon run",
"name": "Run on JVM",
"attributes": {
"goal": "Run",
"previewUrl": ""
},
"type": "custom"
},
{
"commandLine": "cd ${current.project.path} && ceylon run-js",
"name": "Run on NodeJS",
"attributes": {
"goal": "Run",
"previewUrl": ""
},
"type": "custom"
},
{
"commandLine": "cd ${current.project.path} && ceylon run-dart $(ceylon config get runtool.module)",
"name": "Run on Dart",
"attributes": {
"goal": "Run",
"previewUrl": ""
},
"type": "custom"
}
],
"links": []
},
"stackIcon": {
"name": "type-ceylon.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "nodejs-postgres",
"creator": "Ibrahim Jarif",
"name": "Nodejs and Postgres Stack",
"description": "Nodejs stack with Postgres",
"scope": "advanced",
"tags": [
"node.js",
"npm",
"postgres"
],
"components": [
{
"name": "Node.js",
"version": "8.11.3"
},
{
"name": "NPM",
"version": "5.6.0"
},
{
"name": "Postgres",
"version": "9.6"
}
],
"workspaceConfig": {
"defaultEnv": "default",
"environments": {
"default": {
"machines": {
"database": {
"attributes": {
"memoryLimitBytes": "547483648"
},
"servers": {
"postgres": {
"attributes": {},
"port": "5432",
"protocol": "tcp"
}
},
"volumes": {
"postgresdata": {
"path": "/var/lib/pgsql/data"
}
},
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal"
],
"env": {
"POSTGRESQL_ADMIN_PASSWORD": "adminpassword",
"POSTGRESQL_DATABASE": "my_data",
"POSTGRESQL_USER": "user",
"POSTGRESQL_PASSWORD": "password"
}
},
"nodejs": {
"attributes": {
"memoryLimitBytes": "1147483648"
},
"servers": {
"node": {
"attributes": {},
"port": "8080",
"protocol": "http"
}
},
"volumes": {},
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ls.js-ts",
"org.eclipse.che.ws-agent"
],
"env": {}
}
},
"recipe": {
"type": "openshift",
"content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: nodejs-postgres-pod\n annotations:\n org.eclipse.che.container.nodejs.machine_name: nodejs\n org.eclipse.che.container.database.machine_name: database\n spec:\n containers:\n - \n image: quay.io/openshiftio/che-centos-nodejs\n name: nodejs\n ports:\n - \n containerPort: 8080\n protocol: TCP\n resources:\n limits:\n memory: 1024Mi\n - \n image: centos/postgresql-96-centos7\n name: database\n ports:\n - \n containerPort: 5432\n protocol: TCP\n resources:\n limits:\n memory: 512Mi\n env:\n - \n name: POSTGRESQL_USER\n value: user\n - \n name: POSTGRESQL_PASSWORD\n value: password\n - \n name: POSTGRESQL_DATABASE\n value: my_data\n - \n name: POSTGRESQL_ADMIN_PASSWORD\n value: adminpassword\n",
"contentType": "text/x-yaml"
}
}
},
"projects": [],
"name": "default",
"attributes": {},
"commands": [
{
"commandLine": "cd ${current.project.path} && node .",
"name": "Run",
"attributes": {
"goal": "Run",
"previewUrl": "${server.node}"
},
"type": "custom"
}
],
"links": []
}
},
{
"id": "apache-camel-springboot",
"creator": "Aurélien Pupier",
"name": "Apache Camel based projects",
"description": "Stack with environment ready to develop Integration projects with Apache Camel based on SpringBoot.",
"scope": "advanced",
"tags": [
"Apache Camel",
"Red Hat Fuse",
"Agile Integration"
],
"workspaceConfig": {
"defaultEnv": "default",
"environments": {
"default": {
"recipe": {
"type": "dockerimage",
"content": "registry.centos.org/che-stacks/spring-boot"
},
"machines": {
"dev-machine": {
"env": {},
"volumes": {},
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.camel",
"org.eclipse.che.ls.java"
],
"servers": {
"tomcat8-debug": {
"attributes": {},
"protocol": "http",
"port": "8000"
},
"springboot": {
"attributes": {},
"protocol": "http",
"port": "8080"
}
},
"attributes": {
"memoryLimitBytes": "2147483648"
}
}
}
}
},
"projects": [],
"commands": [
{
"commandLine": "scl enable rh-maven33 'mvn install -f ${current.project.path}'",
"name": "build",
"type": "mvn",
"attributes": {
"goal": "Build",
"previewUrl": ""
}
},
{
"commandLine": "scl enable rh-maven33 'mvn clean install -f ${current.project.path}'",
"name": "clean build",
"type": "mvn",
"attributes": {
"goal": "Build",
"previewUrl": ""
}
},
{
"commandLine": "scl enable rh-maven33 'mvn compile spring-boot:run -f ${current.project.path}'",
"name": "run",
"type": "custom",
"attributes": {
"goal": "Run",
"previewUrl": "${server.springboot}"
}
},
{
"commandLine": "scl enable rh-maven33 'mvn spring-boot:run -Drun.jvmArguments=\"-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005\" -f ${current.project.path}'",
"name": "debug",
"type": "custom",
"attributes": {
"goal": "Debug",
"previewUrl": "${server.springboot}"
}
}
],
"name": "default",
"links": []
},
"components": [
{
"version": "7",
"name": "CentOS"
},
{
"version": "1.8.0_161",
"name": "OpenJDK"
},
{
"version": "3.3.9",
"name": "RH-Maven"
}
],
"stackIcon": {
"name": "type-apache-camel.svg",
"mediaType": "image/svg+xml"
}
}
]