• docker部署StreamSets

    发布于:2024-07-20 作者:Garany 评论(0) 引用(0) 浏览(511)   分类:破万卷书  

    mkdir -p /data/sdc/{data,libs,logs} docker run -itd --name sdc \ --restart=always -p 18630:18630 \ -v /data/sdc/data/:/data/ \ -v /data/sdc/libs/:/opt/streamsets-datacollector-3.22.3-0047/streamsets-libs/ \ -v /data/sdc/logs/:/logs/ \ streamsets/datacollector:3.22.3-0047-1069 dc docker exec -it -u root sdc bash # 删除在线账号 rm -rf /opt/streamsets-datacollector-3.22.3-0047/container-lib/streamsets-activation-no-trial-3.6.0.jar #修改时区 sed -i 's/dl-cdn.alpinelinux.org/mirrors.al...

    阅读全文>>

    标签: centos7 docker
  • docker部署elasticsearch

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

    #创建数据和插件目录 # 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) 浏览(478)   分类:破万卷书  

    # 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