Support secure external LTX OAuth

This commit is contained in:
Mikei386
2026-09-13 22:28:56 +02:00
parent 7d02fa1b8b
commit 719bc4ccf7
3 changed files with 15 additions and 1 deletions
+3 -1
View File
@@ -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"]