Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Velotio - HashiCorp Consul Part 2 - MongoDB Replica Set - Run Consul agent on a MongoDB node
consul agent -bind \
-advertise \
-join consul_server \
-node mongo_1 \
-dns-port 53 \
-data-dir /data \
-config-dir /etc/consul.d \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment