Skip to content

Instantly share code, notes, and snippets.

@filipesperandio
Created June 28, 2019 09:49
Show Gist options
  • Save filipesperandio/6923d2417aa1d9d3ed0638a967711b13 to your computer and use it in GitHub Desktop.
Save filipesperandio/6923d2417aa1d9d3ed0638a967711b13 to your computer and use it in GitHub Desktop.
Elastic Search Mem Limit
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.1.1
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms750m -Xmx750m"
mem_limit: 1024m
volumes:
- elasticsearch:/usr/share/elasticsearch/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment