kopia lustrzana https://github.com/wagtail/bakerydemo
upgrade to elasticsearch 5
rodzic
931ca82742
commit
1a40b54993
|
@ -51,7 +51,7 @@ if ELASTICSEARCH_ENDPOINT:
|
|||
from elasticsearch import RequestsHttpConnection
|
||||
WAGTAILSEARCH_BACKENDS = {
|
||||
'default': {
|
||||
'BACKEND': 'wagtail.search.backends.elasticsearch2',
|
||||
'BACKEND': 'wagtail.search.backends.elasticsearch5',
|
||||
'HOSTS': [{
|
||||
'host': ELASTICSEARCH_ENDPOINT,
|
||||
'port': int(os.getenv('ELASTICSEARCH_PORT', '9200')),
|
||||
|
|
|
@ -16,7 +16,7 @@ services:
|
|||
expose:
|
||||
- "6379"
|
||||
elasticsearch:
|
||||
image: elasticsearch:2.3
|
||||
image: elasticsearch:5.4
|
||||
restart: always
|
||||
expose:
|
||||
- "9200"
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
-r base.txt
|
||||
# elasticsearch==2.x.x chosen for compatibility with t2.micro.elasticsearch and t2.small.elasticsearch
|
||||
# instance types on AWS (Elasticsearch 2.3). Adjust for your deployment as needed.
|
||||
elasticsearch==2.4.1
|
||||
elasticsearch==5.5.3
|
||||
# Additional dependencies for Heroku, AWS, and Google Cloud deployment
|
||||
dj-database-url==0.4.1
|
||||
uwsgi>=2.0.17,<2.1
|
||||
|
|
Ładowanie…
Reference in New Issue