Skip to content
Snippets Groups Projects
Commit 5d36d535 authored by George Adrian Stoica's avatar George Adrian Stoica
Browse files

conf(che): start vnc from devfile

parent 3ddd9ea4
Branches
No related tags found
No related merge requests found
Pipeline #232671 passed
schemaVersion: 2.1.0
metadata:
name: testvnc
name: todolist
components:
- name: testvnc
- name: todolist
container:
image: adrianstoica/it1901:latest
memoryLimit: 3Gi
......@@ -12,10 +12,30 @@ components:
protocol: http
targetPort: 6080
- exposure: public
name: 6900-tcp
name: 5900-tcp
protocol: http
targetPort: 6900
targetPort: 5900
- exposure: public
name: 6901-tcp
name: 5901-tcp
protocol: http
targetPort: 6901
\ No newline at end of file
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment