-
-
Save xeraa/3ce6cf275240556bc7b95cea67002057 to your computer and use it in GitHub Desktop.
Docker: Kibana + Elasticsearch with Stempel, Phonetic, and Language detection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ELASTIC_VERSION=6.3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment