Skip to content

Commit

Permalink
Merge branch 'internal' of github.com:spryker-shop/b2c-demo-marketpla…
Browse files Browse the repository at this point in the history
…ce into internal-robot
  • Loading branch information
kkicheglovspryker committed Oct 30, 2023
2 parents 6d37c4e + e0ddbfa commit 2d8a315
Show file tree
Hide file tree
Showing 2 changed files with 530 additions and 89 deletions.
5 changes: 4 additions & 1 deletion config/Shared/config_default-docker.ci.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use Monolog\Logger;
use Spryker\Shared\Event\EventConstants;
use Spryker\Shared\GlueBackendApiApplication\GlueBackendApiApplicationConstants;
use Spryker\Shared\GlueJsonApiConvention\GlueJsonApiConventionConstants;
use Spryker\Shared\GlueStorefrontApiApplication\GlueStorefrontApiApplicationConstants;
use Spryker\Shared\Log\LogConstants;
Expand Down Expand Up @@ -39,8 +40,10 @@
$config[MessageBrokerConstants::IS_ENABLED] = true;

$sprykerGlueStorefrontHost = getenv('SPRYKER_GLUE_STOREFRONT_HOST');
$sprykerGlueBackendHost = getenv('SPRYKER_GLUE_BACKEND_HOST');
$config[GlueBackendApiApplicationConstants::GLUE_BACKEND_API_HOST] = $sprykerGlueBackendHost;
$config[GlueStorefrontApiApplicationConstants::GLUE_STOREFRONT_API_HOST] = $sprykerGlueStorefrontHost;
$config[GlueJsonApiConventionConstants::GLUE_DOMAIN] = sprintf(
'http://%s',
$sprykerGlueStorefrontHost ?: 'localhost',
$sprykerGlueStorefrontHost ?: $sprykerGlueBackendHost ?: 'localhost',
);
Loading

0 comments on commit 2d8a315

Please sign in to comment.