docker es kibana 集群
docker-compose.yml version: ‘3‘ services: elasticsearch: image: elasticsearch:6.5.4 container_name: elasticsearch hostname: elasticsearch environment: - cluster.name=docker-cluster - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m" ulimits: memlock: soft: -1 hard: -1 volumes: - ./esdata1:/usr/share/elasticsearch/data ports: - 9200:9200 networks: - esnet elasticsearch2: image: elasticsearch:6.5.4 container_name: elasticsearch2 hostname: elasticsearch2 environment: - cluster.name=docker-cluster - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m" - "discovery.zen.ping.unicast.hosts=[elasticsearch,elasticsearch2,elasticsearch3]" ulimits: memlock: soft: -1 hard: -1 volumes: - ./esdata2:/usr/share/elasticsearch/data networks: - esnet elasticsearch3: image: elasticsearch:6.5.4 container_name: elasticsearch3 hostname: elasticsearch3 environment: - cluster.name=docker-cluster - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m" - "discovery.zen.ping.unicast.hosts=[elasticsearch,elasticsearch2,elasticsearch3]" ulimits: memlock: soft: -1 hard: -1 volumes: - ./esdata3:/usr/share/elasticsearch/data networks: - esnet kibana: image: kibana container_name: kibana ports: - 5601:5601 environment: - ELASTICSEARCH_URL=http://elasticsearch:9200 networks: - esnet volumes: esdata1: driver: local esdata2: driver: local esdata3: driver: local networks: esnet:
docker-compose up -d
原文:https://www.jianshu.com/p/fdfead5acc23
相关推荐
molong0 2020-08-06
YYDU 2020-06-21
katanaFlower 2020-06-21
newbornzhao 2020-09-14
做对一件事很重要 2020-09-07
renjinlong 2020-09-03
明瞳 2020-08-19
李玉志 2020-08-19
mengyue 2020-08-07
AFei00 2020-08-03
molong0 2020-08-03
wenwentana 2020-08-03
YYDU 2020-08-03
另外一部分,则需要先做聚类、分类处理,将聚合出的分类结果存入ES集群的聚类索引中。数据处理层的聚合结果存入ES中的指定索引,同时将每个聚合主题相关的数据存入每个document下面的某个field下。
sifeimeng 2020-08-03
心丨悦 2020-08-03
liangwenrong 2020-07-31
sifeimeng 2020-08-01
mengyue 2020-07-30