Created
May 20, 2019 06:57
-
-
Save nex3z/914d3d28187a1483fa70230e829cf4d7 to your computer and use it in GitHub Desktop.
docker-compose elasticsearch kibana
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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