Last active
December 1, 2016 21:17
-
-
Save ckeeney/ba40d1d6362a9d7633a0eb1f8eab7b24 to your computer and use it in GitHub Desktop.
nats clustering test
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
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