diff --git a/lib/DeployActions/DockerActions.php b/lib/DeployActions/DockerActions.php index 9b5dabac..f2a34d9b 100644 --- a/lib/DeployActions/DockerActions.php +++ b/lib/DeployActions/DockerActions.php @@ -310,10 +310,12 @@ public function createContainer(string $dockerUrl, string $imageId, DaemonConfig ]; $containerParams['HostConfig']['PortBindings'] = [ sprintf('%d/tcp', $exAppMainPort) => [ - ['HostPort' => (string)$exAppMainPort, 'HostIp' => '127.0.0.1'] + ['HostPort' => (string)$exAppMainPort, 'HostIp' => '127.0.0.1'], + ['HostPort' => (string)$exAppMainPort, 'HostIp' => '::1'], ], sprintf('%d/udp', $exAppMainPort) => [ - ['HostPort' => (string)$exAppMainPort, 'HostIp' => '127.0.0.1'] + ['HostPort' => (string)$exAppMainPort, 'HostIp' => '127.0.0.1'], + ['HostPort' => (string)$exAppMainPort, 'HostIp' => '::1'], ], ]; }