diff --git a/.docker/Dockerfile.elasticsearch b/.docker/Dockerfile.elasticsearch new file mode 100644 index 0000000..836beb6 --- /dev/null +++ b/.docker/Dockerfile.elasticsearch @@ -0,0 +1,14 @@ +FROM amazeeio/elasticsearch:7-latest +ARG ES_TPL + +ENV ES_TPL=${ES_TPL:-elasticsearch.yml} + +RUN bin/elasticsearch-plugin install analysis-kuromoji \ + && bin/elasticsearch-plugin install analysis-icu + +COPY .docker/elasticsearch.yml .docker/elasticsearch.* /tmp/elasticsearch/ + +RUN mkdir -p config \ + && cp /tmp/elasticsearch/$ES_TPL config/elasticsearch.yml + +ENV ES_JAVA_OPTS "-Xms1000m -Xmx1000m"