API referenceSections

ContainerHealth

ContainerHealth object
  • no other properties
  • type string required

    tcp: the broker connects to port; cmd: the engine runs cmd inside the container; none: running is enough. The web service is always checked over HTTP too

    Allowed values: "" "tcp" "cmd" "none"
  • port integer optional
    • minimum 0
    • maximum 65535
  • cmd string optional

    One line, run inside the container by its shell (never on the server)

  • interval_s integer optional
    • minimum 0
    • maximum 3600
  • timeout_s integer optional
    • minimum 0
    • maximum 600
  • retries integer optional
    • minimum 0
    • maximum 100
  • start_period_s integer optional
    • minimum 0
    • maximum 3600