mirror of https://github.com/docker/docs.git
Update for new nsqio image
nsqio have changed they way the package the binaries into docker. There is now one image with all the binaries in it and each one is called on run. This should fix the docker compose as per http://nsq.io/deployment/docker.html Signed-off-by: Steven Lee <steven.lee@multiplay.co.uk>
This commit is contained in:
parent
0a8cf2cf06
commit
30b8491180
|
@ -1,22 +1,23 @@
|
|||
nsqlookupd:
|
||||
image: nsqio/nsqlookupd
|
||||
image: nsqio/nsq
|
||||
ports:
|
||||
- "4160:4160"
|
||||
- "4161:4161"
|
||||
command: /nsqlookupd
|
||||
|
||||
nsqd:
|
||||
image: nsqio/nsqd
|
||||
image: nsqio/nsq
|
||||
ports:
|
||||
- "4150"
|
||||
- "4151"
|
||||
links:
|
||||
- nsqlookupd:nsqlookupd
|
||||
command: -lookupd-tcp-address=nsqlookupd:4160
|
||||
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160
|
||||
|
||||
nsqadmin:
|
||||
image: nsqio/nsqadmin
|
||||
image: nsqio/nsq
|
||||
ports:
|
||||
- "4171:4171"
|
||||
links:
|
||||
- nsqlookupd:nsqlookupd
|
||||
command: -lookupd-http-address=nsqlookupd:4161
|
||||
command: /nsqadmin --lookupd-http-address=nsqlookupd:4161
|
||||
|
|
Loading…
Reference in New Issue