API referenceSections

ContainerStackInput

ContainerStackInput object

A multi-service site (ADR 0192): no services makes it one container again

  • no other properties
  • web string optional
  • web_command array<string> optional
  • web_entrypoint array<string> optional
  • web_depends_on array<string> optional
  • web_health ContainerHealth optional
  • web_cpu_cores number optional
  • web_memory_mb integer optional
  • services array<ContainerServiceInput> optional
  • source string optional

    The compose file it came from

Used by

PUT/api/v1/tenants/{tid}/sites/{id}/container 202Create or change the site's container and deploy it as a new release; the running version stays until the new one answers its health check