diff --git a/devfile.yaml b/devfile.yaml index 60c0e0a50a0279f2feac29904009bb3ff8baad88..7da2d08c80a309743a8650e71ac2c691b2c2c116 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -4,42 +4,18 @@ metadata: components: - name: todolist container: - image: adrianstoica/it1901:latest + image: lauri3k/test:8 memoryLimit: 3Gi endpoints: - exposure: public - name: 6080-tcp + name: novnc protocol: http - targetPort: 6080 + targetPort: 6901 - exposure: public name: 3000-tcp protocol: http targetPort: 3000 - - exposure: public - name: 5900-tcp - protocol: http - targetPort: 5900 - - exposure: public - name: 5901-tcp - protocol: http - targetPort: 5901 - exposure: public name: 8080-tcp protocol: http targetPort: 8080 -commands: - - id: vncserver - exec: - component: todolist - commandLine: vncserver -SecurityTypes None :0 - label: start vnc server - - id: screenlock - exec: - component: todolist - commandLine: xset s 0 0 - label: screen lock disable - - id: novnc - exec: - component: todolist - commandLine: /opt/novnc/utils/novnc_proxy --vnc localhost:5900 --listen 6080 & - label: start vnc web interface