Automatic edit of file in dockerized elasticsearch/kibana

I have my dockerized container for elasticsearch and kibana running, with it automatically installing some plugins once i start the docker container.

I need to edit the config/elasticsearch.yml file to enable the usage of opennlp-ingest and i am trying to find the way to get it done similar to the way i have installed the plugins through a file as shown below

ARG ELASTIC_VERSION="$ELASTIC_VERSION"

FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}

RUN bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/7.6.0.1/ingest-opennlp-7.6.0.1.zip
RUN bin/elasticsearch-plugin install mapper-annotated-text
RUN bin/elasticsearch-plugin install analysis-phonetic
RUN bin/elasticsearch-plugin install ingest-attachment --batch
RUN bin/ingest-opennlp/download-models

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