Logo

Command Palette

Search for a command to run...

Health Checks Configuration

Post-deployment availability checks

You can configure your application to automatically run global availability checks against an HTTP endpoint each time it is deployed. Results of these checks are available on your Cloud 66 dashboard under ActiveProtect.

The following settings are available via the Manifest file:

OptionApplied onDescriptionClouds
endpointThe endpoint to that will be queried during the checkAll
acceptThe set of HTTP codes we will accept as valid from the endpoint (as an array)All
timeoutThe timeout limit in seconds of the endpoint (limit: 10)All
max_redirectsThe number of acceptable HTTP redirects (limit: 10)All
cooldownThe delay between the end of the deployment process and the start of the test, in seconds. (limit: 1800)All

Example YAML for post-deployment global availability checks

docker:
  configuration:
    activeprotect:
      health_check:
        endpoint: '/' # Default is root '/'
        accept: ["200", "300-399"] # Default is 200
        timeout: 2 # Default is 5
        max_redirects: 5 # Default is 3
        cooldown: 120 # Default is 0