Execute the following makefile targets to build this docker image
1. `make docker`: builds the docker image
2. `make push` : builds the docker image and push it to the gcr repository
You can set the following ENV variable before calling make:
1. `DOCKER_TAG`: The image tag to use (for instance: export `TAG=1.0.2; make docker` would build `gcr.io/npav-172917/druid:1.0.2`)
2. `DOCKER_IMAGE_NAME: Changes the name of the image (defaults to druid)
3. `DOCKER_REPO_NAME: Changes the repository to push the image to (defaults to gcr.io/npav-172917/
Tags:
- 0.10.1, latest (Dockerfile)
Druid is an open-source analytics data store designed for business intelligence (OLAP) queries on event data. Druid provides low latency (real-time) data ingestion, flexible data exploration, and fast data aggregation. Existing Druid deployments have scaled to trillions of events and petabytes of data. Druid is most commonly used to power user-facing analytic applications.
Druid being a complex system, the best way to get up and running with a cluster is to use the docker-compose file provided.
Clone our public repository:
git clone [email protected]:znly/docker-druid.git
and run :
docker-compose up
The compose file is going to launch :
- 1 zookeeper node
- 1 postgres database
and the following druid services :
- 1 broker
- 1 overlord
- 1 middlemanager
- 1 historical
The image contains the full druid distribution and use the default druid cli. If no command is provided the image will run as a broker.
If you plan to use this image on your local machine, be carefull with the JVM heap spaces required by default (some services are launched with 15gb heap space).
The docker-compose file is setup to run on a macbook.
Work in progress
Available environment options:
DRUID_XMX
'-'DRUID_XMS
'-'DRUID_NEWSIZE
'-'DRUID_MAXNEWSIZE
'-'DRUID_HOSTNAME
'-'
- Jean-Baptiste DALIDO [email protected]
- Clément REY [email protected]