docker: nicer entrypoint log
This commit is contained in:
parent
a6f7c6d7e4
commit
31fb97345e
1 changed files with 3 additions and 3 deletions
|
|
@ -20,10 +20,10 @@ rm -f /tmp/.X1-lock
|
||||||
|
|
||||||
export DISPLAY=:1 # need to export this, otherwise playwright complains with 'Looks like you launched a headed browser without having a XServer running.'
|
export DISPLAY=:1 # need to export this, otherwise playwright complains with 'Looks like you launched a headed browser without having a XServer running.'
|
||||||
Xvfb $DISPLAY -ac -screen 0 "${SCREEN_WIDTH}x${SCREEN_HEIGHT}x${SCREEN_DEPTH}" &
|
Xvfb $DISPLAY -ac -screen 0 "${SCREEN_WIDTH}x${SCREEN_HEIGHT}x${SCREEN_DEPTH}" &
|
||||||
echo "Xvfb display server created screen with resolution ${SCREEN_WIDTH}x${SCREEN_HEIGHT}."
|
echo "Xvfb display server created screen with resolution ${SCREEN_WIDTH}x${SCREEN_HEIGHT}"
|
||||||
x11vnc -display $DISPLAY -forever -shared -rfbport $VNC_PORT -bg -nopw 2>/dev/null 1>&2 # -passwd "${VNC_PASSWORD}"
|
x11vnc -display $DISPLAY -forever -shared -rfbport $VNC_PORT -bg -nopw 2>/dev/null 1>&2 # -passwd "${VNC_PASSWORD}"
|
||||||
echo "VNC is running on port $VNC_PORT (no password!)."
|
echo "VNC is running on port $VNC_PORT (no password!)"
|
||||||
websockify -D --web "/usr/share/novnc/" $NOVNC_PORT "localhost:$VNC_PORT" 2>/dev/null 1>&2 &
|
websockify -D --web "/usr/share/novnc/" $NOVNC_PORT "localhost:$VNC_PORT" 2>/dev/null 1>&2 &
|
||||||
echo "noVNC is running on http://localhost:$NOVNC_PORT"
|
echo "noVNC (VNC via browser) is running on http://localhost:$NOVNC_PORT"
|
||||||
echo
|
echo
|
||||||
exec tini -g -- "$@"
|
exec tini -g -- "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue