laradock build elasticsearch 报错 unknown setting [cluster.initial_master_nodes] 的解决办法

laradock build elasticsearch 报错 unknown setting [cluster.initial_master_nodes] 的解决办法

  1. 在 根目录 docker-compose.yml 文件中找到并删除 - cluster.initial_master_nodes=laradock-node 所在行
elasticsearch:
      build: ./elasticsearch
      volumes:
        - elasticsearch:/usr/share/elasticsearch/data
      environment:
        - cluster.name=laradock-cluster
        - node.name=laradock-node
        - bootstrap.memory_lock=true
        - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
        - cluster.initial_master_nodes=laradock-node
      ulimits:
        memlock:
          soft: -1
          hard: -1
      ports:
        - "${ELASTICSEARCH_HOST_HTTP_PORT}:9200"
        - "${ELASTICSEARCH_HOST_TRANSPORT_PORT}:9300"
      depends_on:
        - php-fpm
      networks:
        - frontend
        - backend
  1. 重新 build elasticsearch docker-compose build --no-cache elasticsearch
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客
应支付0元
点击重新获取
扫码支付

支付成功即可阅读