feat: update to elasticsearch 8.4

This commit is contained in:
Rainer Killinger
2022-10-13 10:50:55 +00:00
parent a6e19b1230
commit e0717a96ef
5 changed files with 42 additions and 30 deletions

View File

@@ -1,13 +1,13 @@
# Database docker image
[![pipeline status](https://img.shields.io/gitlab/pipeline/openstapps/database.svg?style=flat-square)](https://gitlab.com/openstapps/database/commits/master)
[![pipeline status](https://img.shields.io/gitlab/pipeline/openstapps/database.svg?style=flat-square)](https://gitlab.com/openstapps/database/commits/main)
[![license)](https://img.shields.io/badge/license-GPL--3.0--only-lightgrey.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)
The used database is Elasticsearch 5.6.x. This images is based on
[elasticsearch:5.6](https://hub.docker.com/r/library/elasticsearch/) from the
The used database is Elasticsearch 8.4.x. This images is based on
[elasticsearch:8.4](https://hub.docker.com/r/library/elasticsearch/) from the
[offical Docker Library project](https://docs.docker.com/docker-hub/official_repos/) and uses openjdk:8-jre-alpine as a
base image.
Additionally the [ICU Analysis Plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/5.6/analysis-icu.html) is
Additionally the [ICU Analysis Plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/8.4/analysis-icu.html) is
installed to provide unicode collation which is used for sorting.
## Usage for testing purposes:
@@ -18,5 +18,5 @@ Currently there is an issue with elasticsearch and java on linux machines that t
To set it permanently, you will have to add it to `/etc/sysctl.conf` on machines that run systemd as a init deamon.
## For production use:
Please set `vm.max_map_count=262144` permanently. It is explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html#docker-cli-run-prod-mode)
Please set `vm.max_map_count=262144` permanently. It is explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/8.4/docker.html#docker-prod-prerequisites)