|
|
|
@ -10,26 +10,86 @@ metadata: |
|
|
|
projectType: Maven |
|
|
|
language: Java |
|
|
|
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/java-maven.jpg |
|
|
|
attributes: |
|
|
|
controller.devfile.io/devworkspace-config: |
|
|
|
name: devworkspace-config |
|
|
|
namespace: openshift-devspaces |
|
|
|
controller.devfile.io/storage-type: per-user |
|
|
|
starterProjects: |
|
|
|
- name: springbootproject |
|
|
|
git: |
|
|
|
remotes: |
|
|
|
origin: 'https://github.com/odo-devfiles/springboot-ex.git' |
|
|
|
components: |
|
|
|
- name: mytools |
|
|
|
- attributes: |
|
|
|
che-code.eclipse.org/contribute-cpuLimit: false |
|
|
|
che-code.eclipse.org/contribute-cpuRequest: false |
|
|
|
che-code.eclipse.org/contribute-endpoint/che-code: 3100 |
|
|
|
che-code.eclipse.org/contribute-endpoint/code-redirect-1: 13131 |
|
|
|
che-code.eclipse.org/contribute-endpoint/code-redirect-2: 13132 |
|
|
|
che-code.eclipse.org/contribute-endpoint/code-redirect-3: 13133 |
|
|
|
che-code.eclipse.org/contribute-entry-point: true |
|
|
|
che-code.eclipse.org/contribute-memoryLimit: true |
|
|
|
che-code.eclipse.org/contribute-memoryRequest: false |
|
|
|
che-code.eclipse.org/contribute-volume-mount/checode: /checode |
|
|
|
che-code.eclipse.org/contributed-container: tools |
|
|
|
che-code.eclipse.org/original-memoryLimit: 4G |
|
|
|
name: tools |
|
|
|
container: |
|
|
|
image: docker.io/adoptopenjdk/openjdk11:jdk-11.0.16.1_1-centos |
|
|
|
command: ["tail", "-f", "/dev/null"] |
|
|
|
memoryLimit: 1Gi |
|
|
|
command: |
|
|
|
- /checode/entrypoint-volume.sh |
|
|
|
memoryLimit: 5.07G |
|
|
|
mountSources: true |
|
|
|
endpoints: |
|
|
|
- name: quizz-question |
|
|
|
- exposure: public |
|
|
|
name: quizz-question |
|
|
|
targetPort: 8080 |
|
|
|
- name: quizz-client |
|
|
|
protocol: tcp |
|
|
|
- exposure: public |
|
|
|
name: quizz-client |
|
|
|
targetPort: 8081 |
|
|
|
protocol: tcp |
|
|
|
- exposure: none |
|
|
|
name: debug |
|
|
|
targetPort: 5858 |
|
|
|
protocol: tcp |
|
|
|
- attributes: |
|
|
|
contributed-by: che-code.eclipse.org |
|
|
|
cookiesAuthEnabled: true |
|
|
|
discoverable: false |
|
|
|
type: main |
|
|
|
urlRewriteSupported: true |
|
|
|
exposure: public |
|
|
|
name: che-code |
|
|
|
path: '?tkn=eclipse-che' |
|
|
|
protocol: https |
|
|
|
secure: false |
|
|
|
targetPort: 3100 |
|
|
|
- attributes: |
|
|
|
contributed-by: che-code.eclipse.org |
|
|
|
discoverable: false |
|
|
|
urlRewriteSupported: true |
|
|
|
exposure: public |
|
|
|
name: code-redirect-1 |
|
|
|
protocol: http |
|
|
|
targetPort: 13131 |
|
|
|
- attributes: |
|
|
|
contributed-by: che-code.eclipse.org |
|
|
|
discoverable: false |
|
|
|
urlRewriteSupported: true |
|
|
|
exposure: public |
|
|
|
name: code-redirect-2 |
|
|
|
protocol: http |
|
|
|
targetPort: 13132 |
|
|
|
- attributes: |
|
|
|
contributed-by: che-code.eclipse.org |
|
|
|
discoverable: false |
|
|
|
urlRewriteSupported: true |
|
|
|
exposure: public |
|
|
|
name: code-redirect-3 |
|
|
|
protocol: http |
|
|
|
targetPort: 13133 |
|
|
|
volumeMounts: |
|
|
|
- name: m2 |
|
|
|
path: /home/user/.m2 |
|
|
|
@ -42,6 +102,14 @@ components: |
|
|
|
value: /home/user/.m2 |
|
|
|
- name: HOME |
|
|
|
value: /home/user |
|
|
|
- name: CHE_DASHBOARD_URL |
|
|
|
value: 'https://devspaces.apps.appdev.itix.xyz' |
|
|
|
- name: CHE_PLUGIN_REGISTRY_URL |
|
|
|
value: 'https://devspaces.apps.appdev.itix.xyz/plugin-registry/v3' |
|
|
|
- name: CHE_PLUGIN_REGISTRY_INTERNAL_URL |
|
|
|
value: 'http://plugin-registry.openshift-devspaces.svc:8080/v3' |
|
|
|
- name: OPENVSX_REGISTRY_URL |
|
|
|
value: 'https://open-vsx.org' |
|
|
|
- name: m2 |
|
|
|
volume: {} |
|
|
|
|
|
|
|
|