diff --git a/compose.yaml b/compose.yaml index 8888a01..234f564 100644 --- a/compose.yaml +++ b/compose.yaml @@ -23,9 +23,14 @@ services: PASSWORD: "MyWindowsPassword" # Edit here to set a password for the Windows user. The default is 'MyWindowsPassword'. HOME: "${HOME}" # Set path to Linux user home folder. ports: - - 8006:8006 # Map '8006' on Linux host to '8006' on Windows VM --> For VNC Web Interface @ http://127.0.0.1:8006. - - 3389:3389/tcp # Map '3389' on Linux host to '3389' on Windows VM --> For Remote Desktop Protocol (RDP). - - 3389:3389/udp # Map '3389' on Linux host to '3389' on Windows VM --> For Remote Desktop Protocol (RDP). + # Map '8006' on Linux host to '8006' on Windows VM --> For VNC Web Interface @ http://127.0.0.1:8006. + - "127.0.0.1:8006:8006" + # Map '3389' on Linux host to '3389' on Windows VM --> For Remote Desktop Protocol (RDP). + - "127.0.0.1:3389:3389/tcp" + - "127.0.0.1:3389:3389/udp" + # Uncomment the next two lines and comment out the two above to expose RDP to the local network. + # - 3389:3389/tcp + # - 3389:3389/udp cap_add: - NET_ADMIN # Add network permission stop_grace_period: 120s # Wait 120 seconds before sending SIGTERM when attempting to shut down the Windows VM.