2023-02-15 17:08:23 +00:00
|
|
|
FROM elasticsearch:7.17.4
|
|
|
|
|
|
|
|
ENV ES_JAVA_OPTS "-Xms2g -Xmx2g"
|
|
|
|
ENV ELASTIC_USERNAME "elastic"
|
|
|
|
ENV ELASTIC_PASSWORD "password"
|
|
|
|
|
|
|
|
COPY elasticsearch.yml /usr/share/elasticsearch/config/
|
|
|
|
|
|
|
|
RUN printf "password" | ./bin/elasticsearch-keystore add -f -x "bootstrap.password"
|
|
|
|
|
2023-02-16 00:22:01 +00:00
|
|
|
EXPOSE 19200
|