Skip to content

Instantly share code, notes, and snippets.

@WeslyG
Last active March 24, 2020 18:00
Show Gist options
  • Save WeslyG/ad3467586a776173a45a2a3b450b136e to your computer and use it in GitHub Desktop.
Save WeslyG/ad3467586a776173a45a2a3b450b136e to your computer and use it in GitHub Desktop.
Elasticsearch 6 docker-compose + kibana
version: '2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.8.7
ports:
- 9200:9200
- 9300:9300
environment:
- discovery.type=single-node
kibana:
image: docker.elastic.co/kibana/kibana:6.8.7
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
links:
- elasticsearch
depends_on:
- elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment