From 9c0032d5ff89ede0fa20b184f9cd4e932fc85e31 Mon Sep 17 00:00:00 2001 From: metas-marcus Date: Wed, 8 Jan 2025 13:28:46 +0100 Subject: [PATCH] add elasticsearch endpoint variable used for health endpoints of app and webapi --- app/sources/configs/application.properties | 1 + webapi/sources/configs/application.properties | 1 + 2 files changed, 2 insertions(+) diff --git a/app/sources/configs/application.properties b/app/sources/configs/application.properties index 6967380..b7a54df 100644 --- a/app/sources/configs/application.properties +++ b/app/sources/configs/application.properties @@ -39,3 +39,4 @@ spring.rabbitmq.listener.simple.prefetch=1 # Elasticsearch cluster name. spring.data.elasticsearch.cluster-name=metasfresh spring.data.elasticsearch.cluster-nodes=search:9300 +spring.data.elasticsearch.client.reactive.endpoints=search:9200 diff --git a/webapi/sources/configs/application.properties b/webapi/sources/configs/application.properties index c79bafd..5741e0f 100644 --- a/webapi/sources/configs/application.properties +++ b/webapi/sources/configs/application.properties @@ -28,6 +28,7 @@ spring.rabbitmq.listener.simple.prefetch=1 # Elasticsearch cluster name. spring.data.elasticsearch.cluster-name=metasfresh spring.data.elasticsearch.cluster-nodes=search:9300 +spring.data.elasticsearch.client.reactive.endpoints=search:9200 # -------------------------------------------------------------------------------- # Logging