Skip to content

Instantly share code, notes, and snippets.

@pranavcode
Created April 1, 2019 09:41
Show Gist options
  • Save pranavcode/147d341d73470777505b05cf93566f75 to your computer and use it in GitHub Desktop.
Save pranavcode/147d341d73470777505b05cf93566f75 to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 2 - Django Web Application - Run Consul agent on a Django node
consul agent -bind 33.10.0.10 \
-advertise 33.10.0.10 \
-join consul_server \
-node web_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