zoukankan      html  css  js  c++  java
  • docker-compose部署elk

    version: "3.4"
    services:
      es-master:
        container_name: es-master
        image: elasticsearch:7.3.1
        restart: always
        ports:
          - 19200:9200
          - 19300:9300
        environment:
          - node.name=es-master
          - cluster.initial_master_nodes=es-master
        volumes:
          - "/home/smb/data/es/master:/usr/share/elasticsearch/data"
          - "/home/smb/config/es/master/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml"
          - "/home/smb/logs/es/master:/user/share/elasticsearch/logs"
        networks:
          - smb
    
      es-node1:
        container_name: es-node1
        image: elasticsearch:7.3.1
        restart: always
        volumes:
          - "/home/smb/data/es/node1:/usr/share/elasticsearch/data"
          - "/home/smb/config/es/node1/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml"
          - "/home/smb/logs/es/node1:/user/share/elasticsearch/logs"
        networks:
          - smb
    
      es-node2:
        container_name: es-node2
        image: elasticsearch:7.3.1
        restart: always
        volumes:
          - "/home/smb/data/es/node2:/usr/share/elasticsearch/data"
          - "/home/smb/config/es/node2/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml"
          - "/home/smb/logs/es/node2:/user/share/elasticsearch/logs"
        networks:
          - smb
    
      kibana:
        container_name: kibana
        image: kibana:7.3.1
        ports:
          - 15601:5601
        networks:
          - smb
    
      logstash:
        container_name: logstash
        image: logstash:7.3.1
        ports:
          - 15044:5044
        networks:
          - smb
        volumes:
          - "/home/smb/config/logstash/logstash.yml:/usr/share/logstash/config/logstash.yml"
          - "/home/smb/share/logstash/conf.d/:/usr/share/logstash/conf.d/"
    
    #  filebeat:
    #    container_name: filebeat
    #    image: store/elastic/filebeat:7.3.1
    #    command: --strict.perms=false
    #    networks:
    #      - custom
    #    volumes:
    #      - ${PWD}/docker/filebeat/filebeat.docker.yml:/usr/share/filebeat/filebeat.yml
    #      - /var/log/laravel/:/var/log/laravel/
    #      - /var/lib/docker/containers:/var/lib/docker/containers:ro
    #      - /var/run/docker.sock:/var/run/docker.sock
    #
    networks:
      smb:
    

      

  • 相关阅读:
    利用加载模块之外的地址绕过SafeSEH
    C++ 单实例运行
    添加程序以DLL函数
    HOOK地址还原
    利用未启用SafeSEH模块绕过SafeSEH
    SafeSEH基本概念+ 从堆区绕过SafeSEH学习
    替换.DATA的COOKIE突破GS
    虚函数绕过 GS保护 学习
    攻击虚函数学习
    虚函数学习
  • 原文地址:https://www.cnblogs.com/tswcypy/p/11458729.html
Copyright © 2011-2022 走看看