Skip to content

Instantly share code, notes, and snippets.

@marinhero
Last active April 8, 2019 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marinhero/efd5de010e5c087d354cbeb57b3adfbd to your computer and use it in GitHub Desktop.
Save marinhero/efd5de010e5c087d354cbeb57b3adfbd to your computer and use it in GitHub Desktop.
version: '3.1'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.3.3
hostname: elasticsearch
ports:
- 9210:9200
- 9310:9300
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- cluster.name=wootric-cluster
- bootstrap.memory_lock=true
- xpack.security.enabled=false
volumes:
- esdata:/usr/share/elasticsearch/data
- /YOUR_LOCAL_PATH_TO_AI_PROJECT/config/dictionaries/word_cloud_stopwords.en.txt:/usr/share/elasticsearch/config/word_cloud_stopwords.en.txt
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
esdata:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment