ELASTIC_VERSION=6.3.0
view raw .env hosted with ❤ by GitHub
---
version: '2'
services:
elasticsearch:
build:
dockerfile: $PWD/elasticsearch
context: $PWD
args:
- ELASTIC_VERSION=${ELASTIC_VERSION}
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "xpack.security.enabled=false"
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
volumes:
- esdata1:/usr/share/elasticsearch/data
ports:
- 9200:9200
kibana:
image: docker.elastic.co/kibana/kibana:$ELASTIC_VERSION
links:
- elasticsearch
ports:
- 5601:5601
volumes:
esdata1:
driver: local
view raw docker-compose.yml hosted with ❤ by GitHub
ARG ELASTIC_VERSION="$ELASTIC_VERSION"
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}
RUN bin/elasticsearch-plugin install analysis-stempel
RUN bin/elasticsearch-plugin install analysis-phonetic
RUN bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-langdetect/releases/download/6.3.0.1/ingest-langdetect-6.3.0.1.zip
view raw elasticsearch hosted with ❤ by GitHub