Last active
October 1, 2017 18:42
-
-
Save tmiller/9fb3083342b493f53c0735d6d426319a to your computer and use it in GitHub Desktop.
Setup consul on OSX
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
sudo mkdir -p /etc/consul.d | |
sudo mkdir -p /opt/consul | |
sudo chown -R tmiller:staff /etc/consul.d /opt/consul |
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
{ | |
"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