mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Upgrading to elasticsearch 8 on docker-compose local installations. If you are upgrading to this release, make sure you delete your old search index otherwise you'll get errors in ES about an old index. Delete by running docker exec -it newsblur_web ./manage.py reindex_stories --reindex
and docker exec -it newsblur_web ./manage.py reindex_feeds
This commit is contained in:
parent
20e49ec586
commit
077228004c
2 changed files with 27 additions and 2 deletions
19
apps/profile/migrations/0016_auto_20250211_1820.py
Normal file
19
apps/profile/migrations/0016_auto_20250211_1820.py
Normal file
File diff suppressed because one or more lines are too long
|
@ -126,11 +126,16 @@ services:
|
|||
|
||||
db_elasticsearch:
|
||||
container_name: db_elasticsearch
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
|
||||
mem_limit: 512mb
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:8.17.0-arm64
|
||||
mem_limit: 4g
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
- "ES_JAVA_OPTS=-XX:UseSVE=0"
|
||||
- "CLI_JAVA_OPTS=-XX:UseSVE=0"
|
||||
- "_JAVA_OPTIONS=-XX:UseSVE=0"
|
||||
- cluster.routing.allocation.disk.threshold_enabled=false
|
||||
- xpack.security.enabled=false
|
||||
ports:
|
||||
- 9200:9200
|
||||
- 9300:9300
|
||||
|
@ -138,6 +143,7 @@ services:
|
|||
- ./docker/volumes/elasticsearch:/usr/share/elasticsearch/data
|
||||
- ./config/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
|
||||
|
||||
# Dejavu is a web UI for Elasticsearch
|
||||
dejavu:
|
||||
container_name: dejavu
|
||||
image: appbaseio/dejavu:3.6.0
|
||||
|
|
Loading…
Add table
Reference in a new issue