diff --git a/images/php/settings.php b/images/php/settings.php index 9f4be90f..1b3b6640 100755 --- a/images/php/settings.php +++ b/images/php/settings.php @@ -346,6 +346,9 @@ $config['elasticsearch_connector.cluster.elasticsearch_bay']['options']['use_authentication'] = 0; } +// 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"; + // Configure tide_logs. if (getenv('TIDE_LOGS_UDPLOG_HOST')) { $config['tide_logs.settings']['host'] = getenv('TIDE_LOGS_UDPLOG_HOST');