Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@DiabloHorn
Last active May 1, 2020 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DiabloHorn/7e0ce57b395d40f4d12f0f2555176daf to your computer and use it in GitHub Desktop.
Save DiabloHorn/7e0ce57b395d40f4d12f0f2555176daf to your computer and use it in GitHub Desktop.
docker compose to run elasticsearch and kibana
# 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