Skip to content

Instantly share code, notes, and snippets.

@andreas-bergstrom
Last active February 13, 2020 09:00
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 andreas-bergstrom/c1640fdf4831ad5e3e8c427ca6153b10 to your computer and use it in GitHub Desktop.
Save andreas-bergstrom/c1640fdf4831ad5e3e8c427ca6153b10 to your computer and use it in GitHub Desktop.
Docker-compose for Elasticsearch and Kibana
version: '3.7'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.0
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
ports:
- "9200:9200"
kibana:
image: docker.elastic.co/kibana/kibana:7.6.0
ports:
- "5601:5601"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment