From 31fb97345e8067b7ebd521daf3e15867eb91e0c4 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Sat, 17 Dec 2022 09:06:07 +0100 Subject: [PATCH] docker: nicer entrypoint log --- docker/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index de596e4..625bba3 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -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.' 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}" -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 & -echo "noVNC is running on http://localhost:$NOVNC_PORT" +echo "noVNC (VNC via browser) is running on http://localhost:$NOVNC_PORT" echo exec tini -g -- "$@"