Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker-compose elasticsearch kibana
version: '3.7'
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.0.1
container_name: es01
environment:
- node.name=es01
- cluster.name=docker-es-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
kibana:
image: docker.elastic.co/kibana/kibana:7.0.1
container_name: kibana
environment:
SERVER_NAME: localhost
ELASTICSEARCH_HOSTS: http://es01:9200/
ports:
- 5601:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.