Skip to content

Commit

Permalink
[SDPSUP-7185] Update search endpoints to use http for intra-cluster c…
Browse files Browse the repository at this point in the history
…omms
  • Loading branch information
GROwen authored May 21, 2024
1 parent f860cfb commit 4d45121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/php/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@

// Configure elasticsearch connections from environment variables.
if (getenv('SEARCH_HASH') && getenv('SEARCH_URL')) {
$config['elasticsearch_connector.cluster.elasticsearch_bay']['url'] = sprintf('https://%s.%s', getenv('SEARCH_HASH'), getenv('SEARCH_URL'));
$config['elasticsearch_connector.cluster.elasticsearch_bay']['url'] = sprintf('http://%s.%s', getenv('SEARCH_HASH'), getenv('SEARCH_URL'));
} else {
$config['elasticsearch_connector.cluster.elasticsearch_bay']['url'] = "http://elasticsearch:9200";
}
Expand Down Expand Up @@ -347,7 +347,7 @@
}

// Override data_pipelines url.
$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";
$config['data_pipelines.dataset_destination.sdp_elasticsearch']['destinationSettings']['url'] = (getenv('SEARCH_HASH') && getenv('SEARCH_URL')) ? sprintf('http://%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 4d45121

Please sign in to comment.