Skip to content

Instantly share code, notes, and snippets.

@gowthamgts
Created May 13, 2019 18:12
Show Gist options
  • Save gowthamgts/e15102b819a5d738114670d88e97d239 to your computer and use it in GitHub Desktop.
Save gowthamgts/e15102b819a5d738114670d88e97d239 to your computer and use it in GitHub Desktop.
Elastic Search 6 Docker Compose
version: "2.0"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.0.1
ports:
- "9200:9200"
- "9300:9300"
networks:
- docker_elk
environment:
- discovery.type=single-node
container_name: es
kibana:
image: docker.elastic.co/kibana/kibana:6.0.1
ports:
- "5601:5601"
links:
- elasticsearch
depends_on:
- elasticsearch
networks:
- docker_elk
container_name: kibana
networks:
docker_elk:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment