Coder Social home page Coder Social logo

nxleisp / opentsdb-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from petergrace/opentsdb-docker

0.0 2.0 0.0 22 KB

Files required to make a trusted opentsdb Docker such that opentsdb can be used for other projects (e.g. scollector)

License: MIT License

Shell 100.00%

opentsdb-docker's Introduction

opentsdb-docker

Files required to make a trusted opentsdb Docker such that opentsdb can be used for other projects (e.g. scollector, bosun)

How it works

This image automatically starts HBase, waits a configurable number of seconds, then attempts to create the opentsdb tables in hbase and then fires up opentsdb.
Make sure that you export port 4242 so that you can access opentsdb outside of the container.

Usage

"I just want to play with opentsdb as soon as possible!"

docker run -dp 4242:4242 petergrace/opentsdb-docker

"I want my data to persist even if the container is deleted!"

Use the supplied docker-compose.yml file to start the container. Data will be persisted in ./data

docker-compose up -d

NOTE: When stopping the container, please use the -t option to give more time for hbase to shutdown, otherwise data corruption may result. At least 30 seconds is suggested.

Example: docker-compose stop -t 30

I want to use my own opentsdb.conf file!

You can volume-mount it into the docker container at /etc/opentsdb/opentsdb.conf. If entrypoint.sh already sees a file there it will not copy over the default.

I want to use my own hbase-site.xml file!

Similarly to the opentsdb.conf file, volume-mount your version at /opt/hbase/conf/hbase-site.xml.

I want to use specific opentsdb plugins!

Volume-mount the plugins into /opentsdb-plugins (most people wont be using these)

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.