Lately, I have been toying with the idea of having a Docker image with some preloaded Elasticsearch indexes. The thing is, I would like to also have a host-mounted volume of dynamic indexes on the same node.
More detail: I have a search tool for a number of data sources. Some of these are expensive to build and need to be synchronized with a specific binary because of identifiers. I would like to bake these into the Docker image. Others are more dynamic, so I would like to mount these from the host to survive a restart.
Is this in any way possible?
update: so what Elasticsearch would probably need to support is having indexes live at a different filesystem location.