Skip to content

Instantly share code, notes, and snippets.

@RafPe
Last active April 1, 2016 05:51
Show Gist options
  • Select an option

  • Save RafPe/c897a35f955c9b1aa052 to your computer and use it in GitHub Desktop.

Select an option

Save RafPe/c897a35f955c9b1aa052 to your computer and use it in GitHub Desktop.
Sample config file for elastic search using environment variables for cluster name and node name. More details on pre flight checks for ES you can find at http://asquera.de/opensource/2012/11/25/elasticsearch-pre-flight-checklist/
cluster.name: ${ES_CLUSTERNAME}
node.name: ${HOSTNAME}
network.host: 0.0.0.0
discovery.zen.ping.multicast.enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment