Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AndrienkoAleksandr/2093e082ce31a4c60141a9f90dae53de to your computer and use it in GitHub Desktop.
Save AndrienkoAleksandr/2093e082ce31a4c60141a9f90dae53de to your computer and use it in GitHub Desktop.
metadata:
name: nodejs
projects:
- name: nodejs-web-app
source:
location: 'https://github.com/che-samples/web-nodejs-sample.git'
type: git
branch: master
- name: rhoar-getting-started
source:
location: 'https://github.com/AndrienkoAleksandr/rhoar-getting-started.git'
type: git
branch: master
components:
- id: che-incubator/typescript/latest
memoryLimit: 512Mi
type: chePlugin
- mountSources: true
endpoints:
- name: nodejs
port: 3000
memoryLimit: 512Mi
type: dockerimage
image: 'quay.io/eclipse/che-nodejs10-ubi:nightly'
alias: nodejs
- id: ms-kubernetes-tools/vscode-kubernetes-tools/1.0.0
type: chePlugin
- id: redhat/vscode-openshift-connector/0.0.21
type: chePlugin
apiVersion: 1.0.0
commands:
- name: run the web app
actions:
- workdir: '${CHE_PROJECTS_ROOT}/nodejs-web-app/app'
type: exec
command: nodemon app.js
component: nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment