Last active
May 1, 2020 23:05
-
-
Save DiabloHorn/7e0ce57b395d40f4d12f0f2555176daf to your computer and use it in GitHub Desktop.
docker compose to run elasticsearch and 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
# Thank you @donnymaasland for this file | |
# memo to self: | |
# sudo docker-compose up | |
version: "3" | |
services: | |
elasticsearch: | |
image: elasticsearch:7.6.2 | |
ports: | |
- 9200:9200 | |
environment: | |
- discovery.type=single-node | |
volumes: | |
- elasticsearch:/usr/share/elasticsearch/data | |
kibana: | |
image: kibana:7.6.2 | |
ports: | |
- 5601:5601 | |
environment: | |
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200 | |
volumes: | |
- kibana:/usr/share/kibana/config | |
volumes: | |
kibana: | |
elasticsearch: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment