Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save rhysha/e66bd24b2aa17a044f23917867ef7b45 to your computer and use it in GitHub Desktop.

Select an option

Save rhysha/e66bd24b2aa17a044f23917867ef7b45 to your computer and use it in GitHub Desktop.
version: "3.7"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1
ports:
- 9200
- 9300
environment:
- discovery.type=single-node
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana:7.10.1
ports:
- "5601:5601"
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
depends_on:
- elasticsearch
volumes:
elasticsearch_data:
driver: local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment