Skip to content

Instantly share code, notes, and snippets.

@mitchellhuang
Created January 25, 2019 21:13
Show Gist options
  • Save mitchellhuang/0cfd13716bbd552e8ce76f37e6c33dd3 to your computer and use it in GitHub Desktop.
Save mitchellhuang/0cfd13716bbd552e8ce76f37e6c33dd3 to your computer and use it in GitHub Desktop.
elasticsearch docker-compose
version: '2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4
environment:
discovery.type: single-node
ports:
- 9200:9200
- 9300:9300
kibana:
image: docker.elastic.co/kibana/kibana:6.5.4
environment:
SERVER_NAME: kibana.example.org
ELASTICSEARCH_URL: http://elasticsearch:9200
ports:
- 5601:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment