• docker部署elasticsearch

    发布于:2022-11-02 作者:Garany 评论(0) 引用(0) 浏览(1554)    

    #创建数据和插件目录 # mkdir -p /data/elastic/{data/,plugins/} # chmod 777 -R /data/elastic/data/ #添加配置文件 # vim /data/elastic/elasticsearch.yml cluster.name: -ES node.name: node-1 path.data: /esdata network.host: 0.0.0.0 cluster.initial_master_nodes: ["node-1"] http.cors.enabled: true http.cors.allow-origin: "*" http.cors.allow-headers: Authorization xpack.security.enabled: true xpack.security.transport.ssl.enabled: true indices.breaker.type: none http.max_...

    阅读全文>>