Git Product home page Git Product logo

bitergia-analytics-opensearch-dashboards's Introduction

Bitergia Analytics OpenSearch Dashboards

Docker files for building the Bitergia Analytics image for OpenSearch Dashboards.

Using the image

First, pull the image using the following command:

docker pull bitergia/bitergia-analytics-opensearch-dashboards:latest

To run a container you will also need to run a bitergia-analytics-opensearch image. We recommend to use docker-compose with the next file:

  • bap.yaml
version: '3'
services:
  bap-node1:
    image: bitergia/bitergia-analytics-opensearch:latest
    container_name: bap-node1
    environment:
      - cluster.name=bap-cluster
      - node.name=bap-node1
      - discovery.seed_hosts=bap-node1,bap-node2
      - cluster.initial_master_nodes=bap-node1,bap-node2
      - bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems
        hard: 65536
    volumes:
      - bap-data1:/usr/share/bap/data
    ports:
      - 9200:9200
      - 9600:9600 # required for Performance Analyzer
    networks:
      - bap-net
  bap-node2:
    image: bitergia/bitergia-analytics-opensearch:latest
    container_name: bap-node2
    environment:
      - cluster.name=bap-cluster
      - node.name=bap-node2
      - discovery.seed_hosts=bap-node1,bap-node2
      - cluster.initial_master_nodes=bap-node1,bap-node2
      - bootstrap.memory_lock=true
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65536
        hard: 65536
    volumes:
      - bap-data2:/usr/share/bap/data
    networks:
      - bap-net
  bap-dashboards:
    image: bitergia/bitergia-analytics-opensearch-dashboards:latest
    container_name: bap-dashboards
    ports:
      - 5601:5601
    expose:
      - "5601"
    environment:
      OPENSEARCH_HOSTS: '["https://bap-node1:9200","https://bap-node2:9200"]' # must be a string with no spaces when specified as an environment variable
    networks:
      - bap-net

volumes:
  bap-data1:
  bap-data2:

networks:
  bap-net:

With the previous file, execute docker-compose -f bap.yaml up to run the containers.

bitergia-analytics-opensearch-dashboards's People

Contributors

sduenas avatar zhquan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.