Make the various used ports configurable

This commit is contained in:
Josh.5
2022-02-19 18:07:10 +13:00
parent 75c2df3115
commit 576bf9471c
6 changed files with 32 additions and 9 deletions

View File

@@ -412,9 +412,19 @@ ENV \
MODE="primary" \
ENABLE_VNC_AUDIO="true"
# Be sure that the noVNC port is exposed
EXPOSE 8083
# Configure required ports
ENV \
PORT_SSH="2222" \
PORT_VNC="5900" \
PORT_AUDIO_STREAM="5901" \
PORT_NOVNC_WEB="8083" \
PORT_AUDIO_WEBSOCKET="32123"
# Expose the required ports
EXPOSE 2222
EXPOSE 5900
EXPOSE 5901
EXPOSE 8083
EXPOSE 32123
# Set entrypoint