Skip to content

Instantly share code, notes, and snippets.

@md5
Last active August 29, 2015 14:28
Show Gist options
  • Save md5/8ff81304cacc3e837eab to your computer and use it in GitHub Desktop.
Save md5/8ff81304cacc3e837eab to your computer and use it in GitHub Desktop.
one:
image: elasticsearch
ports:
- "19300:9300"
command:
- "--node.name=one"
- "--network.publish_host=192.168.99.100"
- "--transport.publish_port=19300"
- "--discovery.zen.fd.ping_interval=10s"
- "--discovery.zen.ping.multicast.enabled=false"
- "--discovery.zen.ping.unicast.hosts=192.168.99.100:19300,192.168.99.100:29300,192.168.99.100:39300,192.168.99.100:49300"
two:
image: elasticsearch
ports:
- "29300:9300"
command:
- "--node.name=two"
- "--network.publish_host=192.168.99.100"
- "--transport.publish_port=29300"
- "--discovery.zen.fd.ping_interval=10s"
- "--discovery.zen.ping.multicast.enabled=false"
- "--discovery.zen.ping.unicast.hosts=192.168.99.100:19300,192.168.99.100:29300,192.168.99.100:39300,192.168.99.100:49300"
three:
image: elasticsearch
ports:
- "39300:9300"
command:
- "--node.name=three"
- "--network.publish_host=192.168.99.100"
- "--transport.publish_port=39300"
- "--discovery.zen.fd.ping_interval=10s"
- "--discovery.zen.ping.multicast.enabled=false"
- "--discovery.zen.ping.unicast.hosts=192.168.99.100:19300,192.168.99.100:29300,192.168.99.100:39300,192.168.99.100:49300"
four:
image: elasticsearch
ports:
- "49300:9300"
command:
- "--node.name=four"
- "--network.publish_host=192.168.99.100"
- "--transport.publish_port=49300"
- "--discovery.zen.fd.ping_interval=10s"
- "--discovery.zen.ping.multicast.enabled=false"
- "--discovery.zen.ping.unicast.hosts=192.168.99.100:19300,192.168.99.100:29300,192.168.99.100:39300,192.168.99.100:49300"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment