Created
October 10, 2016 01:59
-
-
Save shavo007/a3e7d843c6273b045b247121188c9951 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
master: | |
image: elasticsearch:latest | |
command: elasticsearch --node.master=true --node.data=false --cluster.name=cluster-01 --node.name="Master of Disaster" | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
restart: always | |
node: | |
image: elasticsearch:latest | |
command: elasticsearch --cluster.name=cluster-01 --discovery.zen.ping.unicast.hosts=master | |
restart: always | |
depends_on: | |
- master | |
kibana: | |
image: kibana:latest | |
ports: | |
- "5601:5601" | |
environment: | |
- SHANE_PROP=hello | |
- ELASTICSEARCH_URL=http://master:9200 | |
depends_on: | |
- master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment