Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 17, 2020 05:22
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/1f20414896ba3a1cf32e7546af91e445 to your computer and use it in GitHub Desktop.
Save velotiotech/1f20414896ba3a1cf32e7546af91e445 to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 2 - Django app service definition with Fabio indentifiable tag
{
"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