es-template-validate/docker-compose.yml
2019-12-04 16:45:20 +03:00

16 lines
352 B
YAML

version: '2.2'
services:
es-test:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.1
container_name: es-test
environment:
- cluster.name=es-test-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200