mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
CHANGE: Add support for VNC viewers.
This commit is contained in:
parent
50d9c5920b
commit
179cbd5bfc
@ -60,8 +60,13 @@ RUN chmod +x /slic3r/get_latest_prusaslicer_release.sh \
|
||||
COPY --from=easy-novnc-build /bin/easy-novnc /usr/local/bin/
|
||||
COPY menu.xml /etc/xdg/openbox/
|
||||
COPY supervisord.conf /etc/
|
||||
|
||||
# HTTP Port
|
||||
EXPOSE 8080
|
||||
|
||||
# VNC Port
|
||||
EXPOSE 5900
|
||||
|
||||
VOLUME /configs/
|
||||
VOLUME /prints/
|
||||
|
||||
|
@ -19,6 +19,10 @@ To run this image, you can run the following command: `docker run --detach --vol
|
||||
|
||||
This will bind `/configs/` in the container to a local volume on my machine named `prusaslicer-novnc-data`. Additionally it will bind `/prints/` in the container to `superslicer-novnc-prints` locally on my machine, it will bind port `8080` to `8080`, and finally, it will provide an environment variable to keep Prusaslicer happy by providing an `SSL_CERT_FILE`.
|
||||
|
||||
**Using a VNC Viewer**
|
||||
|
||||
To use a VNC viewer with the container, the default port for X TigerVNC is 5900. You can add this port by adding `-p 5900:5900` to your command to start the container to open this port for access.
|
||||
|
||||
## Links
|
||||
|
||||
[Prusaslicer](https://www.prusa3d.com/prusaslicer/)
|
||||
@ -28,3 +32,5 @@ This will bind `/configs/` in the container to a local volume on my machine name
|
||||
[GitHub Source](https://github.com/helfrichmichael/prusaslicer-novnc)
|
||||
|
||||
[Docker](https://hub.docker.com/r/mikeah/prusaslicer-novnc)
|
||||
|
||||
<a href="https://www.buymeacoffee.com/helfrichmichael" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
|
@ -4,7 +4,7 @@ pidfile=/tmp/supervisord.pid
|
||||
|
||||
[program:x11]
|
||||
priority=0
|
||||
command=/usr/bin/Xtigervnc -desktop "Prusaslicer" -localhost -rfbport 5900 -SecurityTypes None -AlwaysShared -AcceptKeyEvents -AcceptPointerEvents -AcceptSetDesktopSize -SendCutText -AcceptCutText :0
|
||||
command=/usr/bin/Xtigervnc -desktop "Prusaslicer" -rfbport 5900 -SecurityTypes None -AlwaysShared -AcceptKeyEvents -AcceptPointerEvents -AcceptSetDesktopSize -SendCutText -AcceptCutText :0
|
||||
autorestart=true
|
||||
redirect_stderr=true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user