Easysearch、Elasticsearch 还是 Opensearch,是个问题

Docker安装ES集群问题

Elasticsearch | 作者 黑猫 | 发布于2017年08月21日 | 阅读数:6614

version: '3'
services:
master:
image: elasticsearch:5
volumes:
- ./es_master:/usr/share/elasticsearch/config
ports:
- "9200:9200"
expose:
- "9200"
- "9300"
node1:
image: elasticsearch:5
volumes:
- ./es_node1:/usr/share/elasticsearch/config
expose:
- "9200"
- "9300"
links:
- master:elasticsearch-master
 
 
cluster.name: docker-application
http.host: 0.0.0.0
http.port: 9200
http.cors.enabled: true
http.cors.allow-origin: "*"
node.master: true
node.data: true
discovery.zen.ping.unicast.hosts: ["127.0.0.1"]

 
cluster.name: docker-application
http.host: 0.0.0.0
http.port: 9200
http.cors.enabled: true
http.cors.allow-origin: "*"
node.master: true
node.data: true
discovery.zen.ping.unicast.hosts: ["elasticsearch-master"]

这个起不了
已邀请:

要回复问题请先登录注册