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?