mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-24 22:53:43 +03:00
updated config
This commit is contained in:
parent
4df9bfb2ec
commit
3c32430e9e
|
@ -15,3 +15,5 @@ CELERY_BROKER_URL=redis://redis:6379/0
|
|||
# Flower
|
||||
CELERY_FLOWER_USER=debug
|
||||
CELERY_FLOWER_PASSWORD=debug
|
||||
|
||||
ELASTIC_SEARCH=http://elasticsearch:9200/
|
||||
|
|
|
@ -612,7 +612,7 @@
|
|||
HAYSTACK_CONNECTIONS = {
|
||||
"default": {
|
||||
"ENGINE": "haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine",
|
||||
"URL": "http://127.0.0.1:9200/", # Assuming Elasticsearch is running on localhost
|
||||
"URL": env("ELASTIC_SEARCH", default="http://127.0.0.1:9200/"),
|
||||
"INDEX_NAME": "haystack",
|
||||
"TIMEOUT": 60 * 5,
|
||||
"BATCH_SIZE": 100,
|
||||
|
|
Loading…
Reference in New Issue
Block a user