Skip to content

yourssvk/docker-presto-cluster

Repository files navigation

docker-presto-cluster Build Status

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.

Build image

$ make

Launch presto

Presto cluster can be launched by using docker-compose.

$ make run

docker-compose.yml

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

LICENSE

Apache v2 License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published