Run docker-compose up
. The nimbus, supervisor and zookeeper will run. The nimbus will be available at port 6627.
If you want to run the cluster in backend, you can run docker-compose up -d
.
- Run zookeeper at first:
docker run -d --restart always --name jstorm-zookeeper zookeeper:3.4
- Set up nimbus. The Nimbus daemon has to be connected with the zookeeper(by link
--link jstorm-zookeeper:zookeeper
).
docker run -d --restart always --name jstorm-nimbus --link jstorm-zookeeper:zookeeper mtunique/jstorm jstorm nimbus
- Set up a supervisor node.
docker run -d --restart always --name jstorm-supervisor --link jstorm-zookeeper:zookeeper mtunique/jstorm jstorm supervisor