Skip to content

Commit

Permalink
tests-deploy(1)-binding
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Jul 4, 2023
1 parent 57bf764 commit fa69e49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 2 additions & 1 deletion lib/Command/ExApp/Deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fa69e49

Please sign in to comment.