druid-io / docker-druid

Druid Docker
197 stars 159 forks source link

Starting only particular process #37

Open niketh opened 7 years ago

niketh commented 7 years ago

What are your thoughts on having a docker file that can start with a specific role -Either a coordinator or historical or broker etc.

So this way we can use the same image in production depending on the role type. So basically it will be

docker start coordinator 8081 docker start all (could start everything up)

What do you think @gianm ?

gianm commented 7 years ago

Definitely sounds useful.

Niteesh commented 7 years ago

Hey @gianm @niketh I amde an attempt to make a docker image for the same. Docker.zip

You can build the image using the Dockerfile in the zip.

You can run components like this $ docker run druid start historical

the image also has a zookeeper in it. we can also run zookeeper $ docker run druid start zookeeper

To fire up all components for a quick start run $ docker run druid start all

The common.runtime.properties is also take out so even external system can be configured

Niteesh commented 7 years ago

@niketh I have sent a pull request for the same. check it out and let me know