From fb29f843660fc54b4a4c5f3081a5dbf1a8712c46 Mon Sep 17 00:00:00 2001 From: Vinicius Date: Mon, 11 Sep 2023 18:19:32 -0300 Subject: [PATCH] fix: update elastic search url --- basedosdados_api/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basedosdados_api/settings/base.py b/basedosdados_api/settings/base.py index a7c99eb6..a53dd851 100644 --- a/basedosdados_api/settings/base.py +++ b/basedosdados_api/settings/base.py @@ -253,7 +253,7 @@ HAYSTACK_CONNECTIONS = { "default": { "ENGINE": "basedosdados_api.api.v1.haystack_engines.AsciifoldingElasticSearchEngine", - "URL": getenv("ELASTICSEARCH_URL", "http://elasticsearch:9200"), + "URL": getenv("ELASTICSEARCH_URL", "http://localhost:9200"), "TIMEOUT": 30, "INDEX_NAME": getenv("ELASTICSEARCH_INDEX_NAME", "default"), "BATCH_SIZE": 1000,