Skip to content

Instantly share code, notes, and snippets.

@kenjones-cisco
Created May 31, 2016 16:12
Show Gist options
  • Save kenjones-cisco/4599eebdfdf17bdae2a558832d10d8ed to your computer and use it in GitHub Desktop.
Save kenjones-cisco/4599eebdfdf17bdae2a558832d10d8ed to your computer and use it in GitHub Desktop.
Docker Compose v2 of nsq
version: '2'
services:
nsqlookupd:
image: nsqio/nsq:v0.3.7
command: /nsqlookupd
ports:
- "4160"
- "4161"
nsqd:
image: nsqio/nsq:v0.3.7
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160
ports:
- "4150"
- "4151"
nsqadmin:
image: nsqio/nsq:v0.3.7
command: /nsqadmin --lookupd-http-address=nsqlookupd:4161
ports:
- "4171"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment