Created
June 17, 2020 05:20
-
-
Save velotiotech/871b8e19cee02a8964ad5d02f749423e to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 2 - MongoDB Replica Set - Run Consul agent on a MongoDB node
This file contains 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
consul agent -bind 33.10.0.3 \ | |
-advertise 33.10.0.3 \ | |
-join consul_server \ | |
-node mongo_1 \ | |
-dns-port 53 \ | |
-data-dir /data \ | |
-config-dir /etc/consul.d \ | |
-enable-local-script-checks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment