Skip to content

Instantly share code, notes, and snippets.

@atahani
Created December 20, 2020 07:14
Show Gist options
  • Save atahani/396e4425fc8a32baacd934adbebc38a9 to your computer and use it in GitHub Desktop.
Save atahani/396e4425fc8a32baacd934adbebc38a9 to your computer and use it in GitHub Desktop.
the elastic stack on the minimum version good for testing purpose
version: "3"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
ports:
- "9200:9200"
kibana:
image: docker.elastic.co/kibana/kibana:7.10.1
ports:
- "5601:5601"
volumes:
data01:
driver: local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment