Code Monkey home page Code Monkey logo

druid-docker's Introduction

DockerHub

metabase/druid

Build It

docker build -t metabase/druid:0.20.2 .

The build logic ingests the data in rows.json by executing the ingestion spec task task.json. This is done in the script ingest.sh; tweak as needed.

Why ingest data as part of the build process? In some cases ingestion and indexing can take 10 minutes, on top of using an obnoxious amount of memory. Better to do it during build so we can use the image right out of the box instead of making CI super slow.

Use It

docker run -p 8081:8081 -p 8082:8082 -p 8888:8888 -it metabase/druid:0.20.2

Env Vars

For running Metabase tests you shouldn't need to change any of these.

  • CLUSTER_SIZE -- Druid config to use. Currently one of nano-quickstart, micro-quickstart, small, medium, large, or xlarge. Default: nano-quickstart
  • START_MIDDLE_MANAGER -- whether to start the middle manager process. Default false, because the middle manager is only needed for ingesting rows. Set to true if you plan to ingest more data.
  • ENABLE_JAVASCRIPT -- whether to enable javascript on the Druid cluster. Metabase requires this, so by default it it true. Set it to something besides true to disable it.
  • LOG4J_PROPERTIES_FILE -- Log4j2 config. By default, /druid/apache-druid-0.20.2/log4j2.properties, copied when building the Docker image, but you can mount a directory and supply a different file if you want different logging levels.

Push It

docker push metabase/druid:0.20.2

druid-docker's People

Contributors

camsaul avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

isabella232

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.