Skip to content
Snippets Groups Projects
Commit e33a659b authored by jan.bednarik's avatar jan.bednarik
Browse files

Elasticsearch docker image with Czech dicts and ICU.

parents
No related branches found
No related tags found
No related merge requests found
FROM docker.elastic.co/elasticsearch/elasticsearch:5.6.4
RUN elasticsearch-plugin remove --purge x-pack
RUN elasticsearch-plugin install analysis-icu
ADD hunspell/ /usr/share/elasticsearch/config/hunspell/
build:
docker build -t openlobby/openlobby-es-czech:latest .
push:
docker push openlobby/openlobby-es-czech:latest
# Elasticsearch with Czech analyzer
version: "2"
services:
openlobby-es:
image: openlobby/openlobby-es-czech:latest
environment:
- discovery.type=single-node
- cluster.name=openlobby
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
ports:
- "9200:9200"
restart: always
volumes:
- openlobby-es-data:/usr/share/elasticsearch/data
volumes:
openlobby-es-data:
driver: local
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment