From 8750bd343cb298b8b06de49bc06058e47804fbbb Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 4 May 2023 14:52:09 +0200 Subject: [PATCH] mastercontainer needs to be connected before starting any other container Signed-off-by: Simon L --- php/public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/public/index.php b/php/public/index.php index d8a0508b..f75a514a 100644 --- a/php/public/index.php +++ b/php/public/index.php @@ -77,8 +77,8 @@ $app->get('/containers', function (Request $request, Response $response, array $ $dockerActionManger = $container->get(\AIO\Docker\DockerActionManager::class); /** @var \AIO\Controller\DockerController $dockerController */ $dockerController = $container->get(\AIO\Controller\DockerController::class); - $dockerController->StartDomaincheckContainer(); $dockerActionManger->ConnectMasterContainerToNetwork(); + $dockerController->StartDomaincheckContainer(); return $view->render($response, 'containers.twig', [ 'domain' => $configurationManager->GetDomain(), 'apache_port' => $configurationManager->GetApachePort(),