File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ ENV SCREEN_DPI 96
160
160
ENV DISPLAY :99.0
161
161
ENV DISPLAY_NUM 99
162
162
ENV START_XVFB true
163
+ ENV START_NO_VNC true
163
164
164
165
#========================
165
166
# Selenium Configuration
Original file line number Diff line number Diff line change 3
3
# IMPORTANT: Change this file only in directory NodeBase!
4
4
5
5
if [ " ${START_XVFB} " = true ] ; then
6
- /opt/bin/noVNC/utils/launch.sh --listen 7900 --vnc localhost:5900
6
+ if [ " ${START_NO_VNC} " = true ] ; then
7
+ /opt/bin/noVNC/utils/launch.sh --listen ${NO_VNC_PORT:- 7900} --vnc localhost:${VNC_PORT:- 5900}
8
+ else
9
+ echo " noVNC won't start because START_NO_VNC is false."
10
+ fi
7
11
else
8
12
echo " noVNC won't start because Xvfb is configured to not start."
9
13
fi
Original file line number Diff line number Diff line change @@ -625,6 +625,7 @@ their browser. This might come handy if you cannot install a VNC client on your
625
625
noVNC, so you will need to connect to that port with your browser.
626
626
627
627
Similarly to the previous section, feel free to map port 7900 to any free external port that you wish.
628
+ You can also override it with the ` NO_VNC_PORT ` environment variable in case you want to use ` --net=host ` .
628
629
629
630
Here is an example with the standalone images, the same concept applies to the node images.
630
631
``` bash
You can’t perform that action at this time.
0 commit comments