Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN cp /app/index.html /novnc/

VOLUME /tmp/.X11-unix

EXPOSE 80
ENV PUBPORT 80
EXPOSE $PUBPORT

CMD ["supervisord", "-c", "/app/supervisord.conf"]
2 changes: 1 addition & 1 deletion conf.d/websockify.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[program:websockify]
command=websockify --web /novnc 80 localhost:5900
command=websockify --web /novnc %(ENV_PUBPORT)s localhost:5900
autorestart=true