I am currently trying to set up elasticsearch with a read-only config directory within a docker based on the elasticsearch image. After thoroughly reading the docs, the only related Option I found was the
ES_TMPDIR environment variable. I know that the environment variable is accepted elasticsearch since it crashes whenever I set it to something it is not allowed to write to.
Sadly, ES_TMPDIR does not capture the
This means that the container crashes with a
java.nio.file.FileSystemException: /usr/share/elasticsearch/config/elasticsearch.keystore.tmp: Read-only file system
This is true, but is there any way I can configure elasticsearch to use another path for all temporary files? I'd love to put it on
Thanks in advance, don't hesitate to tell me how I can further provide help or can research on my own. I am just currently pretty lost.