docker-presto-cluster is a simple tool for launching multiple node Presto cluster on docker container. The image is synched with the master branch of presto repository. Therefore you can try the latest presto for developing purpose easily.
$ make
Presto cluster can be launched by using docker-compose.
$ make run
Images are uploaded in DockerHub. These images are build with the latest master branch of Presto. You can launch multiple node docker presto cluster with below yaml file. Build args node_id
is necessary to specify node.id
property of each node.
version: '3'
services:
coordinator:
build:
context: ./presto-coordinator
args:
node_id: coordinator
ports:
- "8080:8080"
container_name: "coordinator"
worker0:
build:
context: ./presto-worker
args:
node_id: worker0
container_name: "worker0"
ports:
- "8081:8081"
worker1:
build:
context: ./presto-worker
args:
node_id: worker1
container_name: "worker1"
ports:
- "8082:8081"
Run
$ docker-compose up -d