Giter Site home page Giter Site logo

doradus-logha's Introduction

Doradus LogHA Dockerfile

This is a highly configurable Doradus LogHA image running two instances of logstash and a custom Doradus GEM published to the public Docker Hub Registry. The docker container logs are read by mounting the directory containing your Docker data (/var/log/ in the below example) into the containers /host/var/log. The Doradus LogHA container monitors the mounted directory, tailing the log files and buffers the log events to Redis. The image also monitors the linked Redis container, tailing the log files, queueing up batches of records and when it either reaches the maximum batch size or when the maximum idle time has elapsed then docker-redis-logstash would then write the log events to Doradus for enhanced performance reasons. The image employs the Doradus-logstash GEM to interact with Doradus which is characterized by batch_size, batch_wait and can be viewed at https://git.labs.dell.com/projects/BD/repos/logstash-output-batched_http/browse

Environment Variables

Runtime behavior of docker-doradus-logstash can be modified by passing the below environment to docker run :

  • DORADUS_HOST: URL of the Doradus hosting server.
  • DORADUS_PORT: Port-number of the Doradus service.
  • DOCKER_APP_NAME: Docker app name.
  • DOCKER_NAMESPACE: Docker namespace.
  • DOCKER_DORADUS_USER: Doradus User.
  • DOCKER_DORADUS_PWD: Doradus Password.

How to build the image

sudo docker build -t pmattoo/doradus-logHA .

How to use this image

To start a basic container, execute the below command: docker run --link redis:redis --env DORADUS_HOST=<Doradus_Host_Name> --env DORADUS_PORT=<Doradus_Port> --env DOCKER_APP_NAME=<Docker_App_Name> --env DOCKER_NAMESPACE=<Docker_Namespace> --env DOCKER_DORADUS_USER=<Doradus_User> --env DOCKER_DORADUS_PWD=<Doradus_Password> --name <container-name> -i -t pmattoo/doradus-logHA

doradus-logha's People

Contributors

piyushmattoo avatar

Watchers

 avatar  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.