schon/evibes/settings/elasticsearch.py
Egor fureunoir Gorbunov 564ce0706b Features: Full Geo rework.
Fixes: 1) Address redundant migration logic by dropping stale migrations; 2) Cleanup swapper-based dependencies in Geo models;

Extra: Streamlined database initialization by resetting all previous migrations.
2025-05-19 14:45:53 +03:00

14 lines
445 B
Python

from evibes.settings.base import * # noqa: F403
ELASTICSEARCH_DSL = {
'default': {
'hosts': ['http://elasticsearch:9200'],
'basic_auth': ('elastic', getenv("ELASTIC_PASSWORD")), # noqa: F405
'verify_certs': False,
'ssl_show_warn': False,
},
}
ELASTICSEARCH_DSL_AUTOSYNC = True
ELASTICSEARCH_DSL_PARALLEL = False
ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = "evibes.signal_processors.SelectiveSignalProcessor"