Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update elastic search url
Browse files Browse the repository at this point in the history
vncsna committed Sep 11, 2023
1 parent 97b231d commit fb29f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basedosdados_api/settings/base.py
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit fb29f84

Please sign in to comment.