create_container
Create a new empty container with an attached PostgreSQL database and S3 bucket. Get a public URL proxied to port 8080 to deploy your application.
Instructions
Create a new empty BasicDeploy container. A PostgreSQL database and an S3 bucket are provisioned automatically for it. Returns the container's id, subdomain, and public URL. Its public URL is proxied to PORT 8080 inside the container, so whatever you deploy MUST listen on 0.0.0.0:8080 (any other port/binding returns 503). Use deploy_app or exec_command afterwards to put an application in it. Optional memoryMb (256/512/1024/2048) and alwaysOn require the plan/add-ons to allow them (see get_account); larger sizes need Pro/Scale, and always-on on Free consumes a paid add-on slot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alwaysOn | No | Keep the container running 24/7 (never auto-sleep). On Free this uses a paid add-on slot. | |
| memoryMb | No | Memory for the container in MB: 256, 512, 1024, or 2048. Defaults to the plan's default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Container UUID. | |
| url | Yes | Public HTTPS URL. | |
| status | Yes | Lifecycle status, e.g. running or sleeping. | |
| createdAt | No | Creation time (ISO 8601). | |
| subdomain | Yes | Container subdomain. | |
| memoryBytes | No | Memory limit in bytes. | |
| storageBytes | No | Storage used in bytes. |