Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 17, 2020 05:21
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 velotiotech/eeb045ec2c1f309477e95f46366734cc to your computer and use it in GitHub Desktop.
Save velotiotech/eeb045ec2c1f309477e95f46366734cc 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