Skip to content

Instantly share code, notes, and snippets.

@mosheka
Last active June 25, 2017 09:48
Show Gist options
  • Save mosheka/f5e5f46784908e8bff5be6c8681f1629 to your computer and use it in GitHub Desktop.
Save mosheka/f5e5f46784908e8bff5be6c8681f1629 to your computer and use it in GitHub Desktop.
1 Click Elastcsearch Docker Setup
#!/bin/sh
#Set virtual memory
sudo sysctl -w vm.max_map_count=262144
#Get the docker-compose.yml
wget https://gist.githubusercontent.com/mosheka/4122218b8a32f9213c48c1c999c214e8/raw/54591b6d692a3b3fefd13c77a1fcf5640e4e3ddc/docker-compose.yml
#Start it
sudo docker-compose up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment