Last active
October 22, 2017 00:58
-
-
Save amir-rahnama/b22bbb4d58f17558996ab5eb3f4e88d1 to your computer and use it in GitHub Desktop.
Stackfile for Docker Cloud ElasticSearch Cluster (with Kibana)
This file contains 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
es-master: | |
image: 'elasticsearch:latest' | |
command: 'elasticsearch --network.host=0.0.0.0 --node.master=true --cluster.name=escluster' | |
restart: always | |
es-develop: | |
image: 'elasticsearch:latest' | |
command: 'elasticsearch --network.host=0.0.0.0 --cluster.name=escluster --discovery.zen.ping.unicast.hosts=es-master' | |
deployment_strategy: high_availability | |
links: | |
- es-master | |
restart: always | |
target_num_containers: 3 | |
kibana-es-develop: | |
image: 'kibana:latest' | |
environment: | |
- FORCE_SSL=true | |
links: | |
- 'es-master:elasticsearch' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment