From 10bc884c7446793c8fd71fa092f0bfe7f7784c16 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Thu, 29 Sep 2022 15:28:53 +0200 Subject: [PATCH] Add hostmapping to web container such that it also works on Linux --- src/logic/communication/docker/DockerCommunicator.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/logic/communication/docker/DockerCommunicator.ts b/src/logic/communication/docker/DockerCommunicator.ts index 9086f71..60eac9c 100644 --- a/src/logic/communication/docker/DockerCommunicator.ts +++ b/src/logic/communication/docker/DockerCommunicator.ts @@ -275,7 +275,8 @@ export default class DockerCommunicator { HostIP: "0.0.0.0", HostPort: DockerCommunicator.WEB_COMPONENT_PUBLIC_PORT }] - } + }, + ExtraHosts: ["host.docker.internal:host-gateway"] } } );