Created
September 21, 2018 12:49
-
-
Save jaywhy13/62b00f3f024bf66f23b00f0d72e12b84 to your computer and use it in GitHub Desktop.
A docker-compose file for ElasticSearch and Kibana
This file contains hidden or 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' | |
services: | |
es: | |
container_name: sandbox_elasticsearch | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.3 | |
ports: | |
- "9200:9200" | |
container_name: es | |
environment: | |
ELASTIC_USER: elastic | |
ELASTIC_PASSWORD: changeme | |
ES_JAVA_OPTS: "-Xms512m -Xmx512m" | |
kibana: | |
container_name: sandbox_kibana | |
image: docker.elastic.co/kibana/kibana:6.2.3 | |
ports: | |
- "5601:5601" | |
links: | |
- es | |
depends_on: | |
- es | |
environment: | |
ELASTIC_USER: elastic | |
ELASTIC_PASSWORD: changeme | |
ELASTICSEARCH_URL: http://es:9200/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment