mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
fix: add log level environment variable
Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com>
This commit is contained in:
parent
ad38b1988c
commit
af8995588f
@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libegl1-mesa \
|
||||
libgl1-mesa-glx \
|
||||
openbox \
|
||||
locales-all libpam0g libxt6 libxext6 dbus-x11 xauth x11-xkb-utils xkb-data, python3\
|
||||
locales-all libpam0g libxt6 libxext6 dbus-x11 xauth x11-xkb-utils xkb-data python3\
|
||||
xterm \
|
||||
novnc \
|
||||
lxde gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
- NVIDIA_DRIVER_CAPABILITIES=all
|
||||
- DISPLAY=:1
|
||||
- VGL_DISPLAY=egl # needed to run without X server
|
||||
- SUPD_LOGLEVEL=INFO
|
||||
- VNC_RESOLUTION=1920x1080
|
||||
volumes:
|
||||
- ./prints:/prints/
|
||||
|
@ -17,6 +17,6 @@ else
|
||||
fi
|
||||
export LOCALFBPORT=$((${VNC_PORT} + DISPLAY_NUMBER))
|
||||
export VGLRUN="${VGLRUN:-/usr/bin/vglrun}"
|
||||
|
||||
export SUPD_LOGLEVEL="${SUPD_LOGLEVEL:-TRACE}"
|
||||
# fix perms and launch supervisor with the above environment variables
|
||||
chown -R slic3r:slic3r /home/slic3r/ /configs/ /prints/ /dev/stdout && exec gosu slic3r supervisord # -e TRACE
|
||||
chown -R slic3r:slic3r /home/slic3r/ /configs/ /prints/ /dev/stdout && exec gosu slic3r supervisord -e $SUPD_LOGLEVEL
|
||||
|
Loading…
Reference in New Issue
Block a user