-
Notifications
You must be signed in to change notification settings - Fork 0
/
devfile.yaml
45 lines (45 loc) · 1.13 KB
/
devfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
schemaVersion: 2.1.0
metadata:
name: workoutplanner
components:
- name: workoutplanner
container:
image: adrianstoica/it1901:latest
memoryLimit: 3Gi
endpoints:
- exposure: public
name: 6080-tcp
protocol: http
targetPort: 6080
- 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: workoutplanner
commandLine: vncserver -SecurityTypes None :0
label: start vnc server
- id: screenlock
exec:
component: workoutplanner
commandLine: xset s 0 0
label: screen lock disable
- id: novnc
exec:
component: workoutplanner
commandLine: /opt/novnc/utils/novnc_proxy --vnc localhost:5900 --listen 6080 &
label: start vnc web interface