Merge pull request #1040 from 31z4/storm
Replace Storm Docker compose example with stack
This commit is contained in:
commit
d6442f8a0c
|
|
@ -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
|
||||
```
|
||||
|
||||
## %%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
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
version: '2'
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
image: zookeeper
|
||||
Loading…
Reference in New Issue