Skip to content

Instantly share code, notes, and snippets.

@tmiller
Last active October 1, 2017 18:42
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 tmiller/9fb3083342b493f53c0735d6d426319a to your computer and use it in GitHub Desktop.
Save tmiller/9fb3083342b493f53c0735d6d426319a to your computer and use it in GitHub Desktop.
Setup consul on OSX
sudo mkdir -p /etc/consul.d
sudo mkdir -p /opt/consul
sudo chown -R tmiller:staff /etc/consul.d /opt/consul
{
"datacenter": "calera-one",
"data_dir": "/opt/consul",
"log_level": "INFO",
"node_name": "laptop",
"server": true,
"ui": true,
"client_addr": "127.0.0.1",
"advertise_addr": "127.0.0.1",
"bootstrap_expect": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment