Skip to content

Instantly share code, notes, and snippets.

@tomcant
Last active August 31, 2023 06:07
Show Gist options
  • Save tomcant/ebce0df19cdde66cb7c7b5939fdba2ad to your computer and use it in GitHub Desktop.
Save tomcant/ebce0df19cdde66cb7c7b5939fdba2ad 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