apache 2.4 – How to dissociate WAMP localhost address and Docker container localhost address?

On a Windows machine there is WAMP installed and Docker running OnlyOffice – installed with this command:
docker run -i -t -d -p 90:80 --restart=always onlyoffice/documentserver

I access my WAMP website through a VHost (configuration shown below).

This is how I get a file stored in the WAMP vhost (myvhost.site/explorer/index.html):

window.docEditor = new DocsAPI.DocEditor("placeholder",
    "document": {
      "fileType": "docx",
      "title": "Example Document Title.docx",
      "url": "myvhost.site/explorer/document.docx
    "documentType": "word",
    "editorConfig": {
      "mode": "view"
    "height": "100%",
    "width": "100%"

Config files:

Docker => /etc/hosts       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters      0085183941b7

My Windows Hosts => C:WindowsSystem32driversetchosts

# localhost name resolution is handled within DNS itself.
# localhost
# ::1 localhost myvhost.site localhost


::1 localhost
# Added by Docker Desktop
**machine IP** host.docker.internal
**machine IP** gateway.docker.internal
# To allow the same kube context to work on the host and the container: kubernetes.docker.internal
# End of section

My Wamp Vhosts => C:wampbinapacheapache2.4.46confextrahttp-vhosts.conf

<VirtualHost *:80>
  ServerName myvhost.site
  ServerAlias **machine IP**
  DocumentRoot c:/wamp/www/myvhost
  <Directory  "c:/wamp/www/myvhost">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All

Whenever I try to get a file from the WAMP server, I feel like it is Docker which access the website instead of my own localhost machine (WAMP), because the localhost address is associated to both my WAMP server and Docker container (with 2 separate ports: localhost:80(WAMP) and localhost:90(Docker)).

I would like to know if there is a way so that the Docker container can access the WAMP server through localhost(WAMP) address instead of its own localhost.
The final goal for this is to make a whole file explorer on the website, with a preview feature for Microsoft Office documents.