|
|
# Dashboard and noVNC integration
|
|
|
### /etc/supervisord.d/dashboard.ini
|
|
|
```
|
|
|
[program:bird-scg-dashboard]
|
|
|
command=/opt/dashboard-ecole-ete/dashboard-ecole-ete/gs_dashboard
|
|
|
directory=/opt/dashboard-ecole-ete/dashboard-ecole-ete
|
|
|
```
|
|
|
### /etc/supervisord.d/novnc.ini
|
|
|
```
|
|
|
[program:novnc]
|
|
|
directory=/opt/noVNC
|
|
|
command=/opt/noVNC/start.sh
|
|
|
```
|
|
|
### /opt/noVNC/start.sh
|
|
|
```
|
|
|
#!/bin/sh
|
|
|
/opt/noVNC/utils/websockify/run --web=/opt/noVNC \
|
|
|
--target-config=/opt/noVNC/token.cfg \
|
|
|
--log-file=/opt/noVNC/vnc.log \
|
|
|
localhost:6080
|
|
|
```
|
|
|
### /opt/noVNC/token.cfg
|
|
|
```
|
|
|
template: 172.18.253.78:5901
|
|
|
``` |
|
|
\ No newline at end of file |