-
-
Save jiahut/2f71fec8219ba595d36b4339b0afe143 to your computer and use it in GitHub Desktop.
Docker Compose for nsqd, nsqlookupd and nsqadmin, all linked
This file contains hidden or 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