Created
June 18, 2016 08:00
-
-
Save heipei/df865e044d6065a0b3cb5c1d4fac0b07 to your computer and use it in GitHub Desktop.
Docker Compose for nsqd, nsqlookupd and nsqadmin, all linked
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nsqlookupd: | |
image: nsqio/nsq | |
ports: | |
- "4160:4160" | |
- "4161:4161" | |
command: /nsqlookupd | |
nsqd: | |
image: nsqio/nsq | |
ports: | |
- "4150:4150" | |
- "4151:4151" | |
links: | |
- nsqlookupd:nsqlookupd | |
command: /nsqd -lookupd-tcp-address=nsqlookupd:4160 -broadcast-address=nsqd | |
nsqadmin: | |
image: nsqio/nsq | |
ports: | |
- "4171:4171" | |
links: | |
- nsqlookupd:nsqlookupd | |
- nsqd:nsqd | |
command: /nsqadmin -lookupd-http-address=nsqlookupd:4161 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment