Skip to content

Instantly share code, notes, and snippets.

@lmars
Created October 7, 2016 20:49
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 lmars/d7862c29f492b0db571aaed8906e1647 to your computer and use it in GitHub Desktop.
Save lmars/d7862c29f492b0db571aaed8906e1647 to your computer and use it in GitHub Desktop.
Flynn healthcheck
{
"processes": {
"web": {
"ports": [
{
"port": 8080,
"proto": "tcp",
"service": {
"name": "APPNAME-web",
"create": true,
"check": {
"type": "http",
"interval": 2000000000,
"threshold": 2,
"kill_down": true,
"start_timeout": 10000000000,
"path": "/",
"host": "example.com",
"match": "Hello from Flynn",
"status": 200
}
}
}
]
}
}
}
flynn release update flynn-healthcheck.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment