Skip to content

Instantly share code, notes, and snippets.

@debovis
Created August 9, 2017 20:43
Show Gist options
  • Save debovis/36fcbc7f1832ff9231219d53117d2436 to your computer and use it in GitHub Desktop.
Save debovis/36fcbc7f1832ff9231219d53117d2436 to your computer and use it in GitHub Desktop.
ES docker compose 2.4.1
version: '2'
services:
elasticsearch:
image: library/elasticsearch:2.4.1
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "http.host=0.0.0.0"
- "transport.host=127.0.0.1"
ports:
- "9200:9200"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment