Support secure external LTX OAuth
This commit is contained in:
@@ -17,6 +17,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
||||
&& chmod +x /tmp/ltx-desktop.AppImage \
|
||||
&& cd /opt/ltx-desktop \
|
||||
&& /tmp/ltx-desktop.AppImage --appimage-extract >/dev/null \
|
||||
&& sed -i 's/host="127.0.0.1", port=port/host=os.environ.get("LTX_HOST", "127.0.0.1"), port=port/' \
|
||||
/opt/ltx-desktop/squashfs-root/resources/backend/ltx2_server.py \
|
||||
&& rm /tmp/ltx-desktop.AppImage \
|
||||
&& ln -s /usr/share/novnc/vnc.html /usr/share/novnc/index.html
|
||||
|
||||
@@ -31,5 +33,5 @@ ENV DISPLAY=:0 \
|
||||
XDG_CACHE_HOME=/data/cache \
|
||||
NO_AT_BRIDGE=1
|
||||
|
||||
EXPOSE 8015
|
||||
EXPOSE 8015 41955
|
||||
ENTRYPOINT ["/usr/local/bin/ltx-desktop-entrypoint"]
|
||||
|
||||
Reference in New Issue
Block a user