Created
March 20, 2017 17:19
-
-
Save crackcomm/9b13a7542bf50647409b311caae22802 to your computer and use it in GitHub Desktop.
NSQ docker-compose
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
nsqlookup: | |
image: nsqio/nsq | |
hostname: nsqlookup | |
ports: | |
- "4160:4160" | |
- "4161:4161" | |
command: /nsqlookupd | |
nsq: | |
image: nsqio/nsq | |
hostname: nsq | |
ports: | |
- "4150:4150" | |
- "4151:4151" | |
links: | |
- nsqlookup:nsqlookup | |
command: /nsqd --broadcast-address nsq --lookupd-tcp-address=nsqlookup:4160 | |
nsqadmin: | |
image: nsqio/nsq | |
hostname: nsqadmin | |
links: | |
- nsqlookup:nsqlookup | |
ports: | |
- "4171:4171" | |
command: /nsqadmin --lookupd-http-address=nsqlookup:4161 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment