Skip to content

Commit

Permalink
Updated data pipeline pattern for generic projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Mar 27, 2024
1 parent b5fa5ff commit 26772dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/php/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
}

// Override data_pipelines url.
$config['data_pipelines.dataset_destination.sdp_elasticsearch']['destinationSettings']['url'] = getenv('SEARCH_URL') ? sprintf('https://%s', getenv('SEARCH_URL')) : "http://elasticsearch:9200";
$config['data_pipelines.dataset_destination.sdp_elasticsearch']['destinationSettings']['url'] = (getenv('SEARCH_HASH') && getenv('SEARCH_URL')) ? sprintf('https://%s.%s', getenv('SEARCH_HASH'), getenv('SEARCH_URL')) : "http://elasticsearch:9200";

// Configure tide_logs.
if (getenv('TIDE_LOGS_UDPLOG_HOST')) {
Expand Down

0 comments on commit 26772dc

Please sign in to comment.