Skip to content

Instantly share code, notes, and snippets.

@letusfly85
Created February 7, 2018 04:27
Show Gist options
  • Save letusfly85/0c2a3901d71242f755276b946460be12 to your computer and use it in GitHub Desktop.
Save letusfly85/0c2a3901d71242f755276b946460be12 to your computer and use it in GitHub Desktop.
version: '2'
services:
elasticsearch:
image: elasticsearch
ports:
- 9200:9200
- 9300:9300
environment:
- transport.host=0.0.0.0
volumes:
- $HOME/work/docker/es/data/practice_es:/usr/share/elasticsearch/data
- $HOME/work/docker/es/conf/practice_es:/usr/share/elasticsearch/config
- $HOME/work/docker/es/plugins/practice_es:/usr/share/elasticsearch/plugins
kibana:
image: kibana
ports:
- 5601:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment