• docker部署elasticsearch

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

    #创建数据和插件目录 # 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_...

    阅读全文>>

  • docker daemon.json

    发布于:2022-09-11 作者:Garany 评论(0) 引用(0) 浏览(372)   分类:破万卷书  

    # vim /etc/docker/daemon.json { "registry-mirrors": ["https://6jaa772l.mirror.aliyuncs.com"], "insecure-registries": ["192.168.10.20:8888"], "hosts" : ["unix:///var/run/docker.sock", "tcp://0.0.0.0:2375"], "graph": "/data/docker", "log-driver":"json-file", "log-opts":{ "max-size" :"100m","max-file":"1"} } //registry-mirrors,镜像加速地址 //insecure-registries,私有仓库地址 //hosts,开启远程控制,同时要去掉docker.service中--H fd:// --containerd=/ru...

    阅读全文>>

    标签: linux docker