Merge pull request #1040 from 31z4/storm

Replace Storm Docker compose example with stack
This commit is contained in:
yosifkit 2017-10-16 09:28:05 -07:00 committed by GitHub
commit d6442f8a0c
2 changed files with 4 additions and 3 deletions

View File

@ -48,9 +48,9 @@ $ docker run -it -v $(pwd)/topology.jar:/topology.jar %%IMAGE%% storm jar /topol
$ docker run -d -p 8080:8080 --restart always --name ui --link some-nimbus:nimbus %%IMAGE%% storm ui $ docker run -d -p 8080:8080 --restart always --name ui --link some-nimbus:nimbus %%IMAGE%% storm ui
``` ```
## %%COMPOSE%% ## %%STACK%%
Run `docker-compose up` and wait for it to initialize completely. The Nimbus will be available at your host and port `6627`. Run `docker stack deploy -c stack.yml storm` (or `docker-compose -f stack.yml up`) and wait for it to initialize completely. The Nimbus will be available at `http://swarm-ip:6627`, `http://localhost:6627`, or `http://host-ip:6627` (as appropriate).
## Configuration ## Configuration

View File

@ -1,4 +1,5 @@
version: '2' version: '3.1'
services: services:
zookeeper: zookeeper:
image: zookeeper image: zookeeper