-
-
Save xeraa/516fb88ef0591009e45aadcea9c3f3cc to your computer and use it in GitHub Desktop.
Zusammengesetzte Worte in Elasticsearch
This file contains 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.5.3 |
This file contains 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" | |
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 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 | |
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION} | |
RUN wget https://sourceforge.net/projects/offo/files/offo-hyphenation/1.2/offo-hyphenation_v1.2.zip && unzip offo-hyphenation_v1.2.zip && mv offo-hyphenation/hyph/ /usr/share/elasticsearch/config/ | |
RUN wget https://raw.githubusercontent.com/uschindler/german-decompounder/master/dictionary-de.txt && mv dictionary-de.txt /usr/share/elasticsearch/config/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment