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/02ccdd9b8cb53ab074566c1e7e90a794 to your computer and use it in GitHub Desktop.
Save velotiotech/02ccdd9b8cb53ab074566c1e7e90a794 to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 2 - Django Web Application Service Definition
{
"service": {
"name": "web",
"port": 8000,
"tags": [
"web",
"application",
"urlprefix-/web"
],
"check": {
"id": "web_app_status",
"name": "Web Application Status",
"tcp": "localhost:8000",
"interval": "30s",
"timeout": "20s"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment