From fa69e49c079e296240fddb262c5f74a3651a6d6c Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Wed, 5 Jul 2023 00:48:18 +0300 Subject: [PATCH] tests-deploy(1)-binding Signed-off-by: Alexander Piskun --- .github/workflows/tests-deploy.yml | 2 +- lib/Command/ExApp/Deploy.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests-deploy.yml b/.github/workflows/tests-deploy.yml index 96f0322c..513e8dd9 100644 --- a/.github/workflows/tests-deploy.yml +++ b/.github/workflows/tests-deploy.yml @@ -94,7 +94,7 @@ jobs: - name: Save container logs if: always() - run: docker logs --details app_python_skeleton >> container.log + run: docker logs --details app_python_skeleton > container.log - name: Upload Docker logs if: always() diff --git a/lib/Command/ExApp/Deploy.php b/lib/Command/ExApp/Deploy.php index daac85ad..4c160bbe 100644 --- a/lib/Command/ExApp/Deploy.php +++ b/lib/Command/ExApp/Deploy.php @@ -132,7 +132,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int $envs = $this->buildDeployEnvParams([ 'appid' => $appId, 'version' => (string) $infoXml->version, - 'host' => isset($deployConfig['expose']) ? '127.0.0.1' : '0.0.0.0', + 'host' => '0.0.0.0', +// 'host' => isset($deployConfig['expose']) ? '127.0.0.1' : '0.0.0.0', 'port' => $containerParams['port'], ], $envParams, $deployConfig); $containerParams['env'] = $envs;