Elasticsearch with Docker

We have already set up Elasticsearch version 7.10.2 using the official docker image, and our single-node cluster is running fine. We need to use this specific Elasticsearch version since it is required by the Mediawiki application it is connected to.

Elasticsearch and Mediawiki are running in two different containers in a PaaS environment. As of now, whenever we are making updates in the Dockerfile for the application a completely new container is created, which will require all pages to be reindexed since the previous container is deleted. As far as I understand, it is impossible to start the Elasticsearch node when it already contains data in the data path: /usr/share/elasticsearch/data/nodes/0. So therefore we cannot use a volume mount which contains already indexed pages.

My question is: is there a way we can start our application without the need of reindexing all pages?

Elasticsearch version 7.10.2 is EOL and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.