You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ambar2/ElasticSearch/Dockerfile

17 lines
617 B
Docker

FROM elasticsearch:5.6.3
# Set a timezone
ENV TZ=UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY elasticsearch.yml ./config/elasticsearch.yml
RUN bin/elasticsearch-plugin install http://dl.bintray.com/content/imotov/elasticsearch-plugins/org/elasticsearch/elasticsearch-analysis-morphology/5.6.3/elasticsearch-analysis-morphology-5.6.3.zip
RUN bin/elasticsearch-plugin install analysis-stempel
RUN bin/elasticsearch-plugin install analysis-smartcn
CMD ["elasticsearch"]
HEALTHCHECK --interval=5s --timeout=30s --retries=50 \
CMD curl -f http://localhost:9200/ || exit 1