Skip to content

Instantly share code, notes, and snippets.

@deadPix3l
Created March 7, 2018 19:37
Show Gist options
  • Save deadPix3l/765667419cd3f2c4d881d318f9b45e21 to your computer and use it in GitHub Desktop.
Save deadPix3l/765667419cd3f2c4d881d318f9b45e21 to your computer and use it in GitHub Desktop.
docker-compose ELK
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.2.2
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- discovery.type=single-node
ports:
- "9200:9200"
- "9300:9300"
networks:
- esnet
kibana:
image: docker.elastic.co/kibana/kibana-oss:6.2.2
container_name: kibana
ports:
- "5601:5601"
depends_on:
- elasticsearch
volumes:
- "/home/sky/kibana-pluginsq:/kibana/kibana-extra"
networks:
- esnet
networks:
esnet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment