This is a docker image of Apache Thirdeye.
There is a docker build script which will build a given Git repo/branch and tag the image.
Usage:
./docker-build.sh [Docker Tag] [Git Branch] [Pinot Git URL]
This script will check out Pinot Repo [Pinot Git URL]
on branch [Git Branch]
and build the docker image for that.
The docker image is tagged as [Docker Tag]
.
Docker Tag
: Name and tag your docker image. Default is thirdeye:latest
.
Git Branch
: The Pinot branch to build. Default is master
.
Pinot Git URL
: The Pinot Git Repo to build, users can set it to their own fork. Please note that, the URL is https://
based, not git://
. Default is the Apache Repo: https://github.com/apache/pinot.git
.
./docker-build.sh thirdeye:latest master https://github.com/apache/pinot.git
Script docker-push.sh
publishes a given docker image to your docker registry.
In order to push to your own repo, the image needs to be explicitly tagged with the repo name.
docker tag thirdeye:latest apachepinot/thirdeye:latest ./docker-push.sh apachepinot/thirdeye:latest
Script docker-build-and-push.sh
builds and publishes this docker image to your docker registry after build.
./docker-build-and-push.sh apachepinot/thirdeye:latest master https://github.com/apache/pinot.git
The entry point of docker image is start-thirdeye.sh
script.
docker network create -d bridge pinot-demo
docker run \ --network=pinot-demo \ --name pinot-quickstart \ -p 9000:9000 \ -d apachepinot/pinot:latest QuickStart \ -type batch
docker run \ --network=pinot-demo \ --name thirdeye-backend \ -p 1426:1426 \ -p 1427:1427 \ -d apachepinot/thirdeye:latest pinot-quickstart