scalix_run_deploy
Deploy a long-running container service on Scalix Run from a container image. Creates a new service, or a new revision of an existing service with the same name, with health checks, a public HTTPS URL, and autoscaling between min_instances and max_instances (min 0 = scale-to-zero when idle). Billed per vCPU-hour while instances run. Roll back a bad revision with scalix_run_rollback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment variables as key-value pairs | |
| name | Yes | Service name | |
| port | No | Port the container listens on | |
| image | Yes | Container image from the Scalix registry ({registry}/{project_id}/{repo}:{tag}). External registries (Docker Hub, etc.) are NOT supported — build & push first with scalix_build_create. | |
| max_instances | No | Maximum instances | |
| min_instances | No | Minimum instances (0 = scale to zero) |