Skip to content

Instantly share code, notes, and snippets.

@ckeeney
Last active December 1, 2016 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckeeney/ba40d1d6362a9d7633a0eb1f8eab7b24 to your computer and use it in GitHub Desktop.
Save ckeeney/ba40d1d6362a9d7633a0eb1f8eab7b24 to your computer and use it in GitHub Desktop.
nats clustering test
version: '2'
services:
nats1:
image: nats
command: --cluster nats://0.0.0.0:6222 --routes nats-route://nats2:6222 -DV
ports:
- 8223:8222
nats2:
image: nats
command: --cluster nats://0.0.0.0:6222 --routes nats-route://nats1:6222 -DV
ports:
- 8222:8222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment