@inquir/compute-cliv0.3.0 · Node.js 22+
Usage#
inquir apps createbash
inquir apps create <name> [options]
Options#
| Option | Description |
|---|---|
--project <id|slug> | Override the selected application project for this creation. |
--template <postgres|redis> | Create the database, volume, credentials and first release. |
--port <n> | HTTP port inside the container; omit for a TCP-only service. |
--tcp <name:port[:public]> | Declare a TCP port; repeat for several ports. Public exposure assigns a platform port. |
--volume <name:/path[:ro]> | Mount a named persistent volume at an absolute container path; repeatable. |
--memory <mb> | Set the memory ceiling in MB. |
--cpu <vcpus> | Set the CPU ceiling in vCPUs. |
--health-path </path> | HTTP path used to check service health. |
--health-command <cmd> | Health command executed inside the container. |
--set KEY=VALUE | Save an environment variable; repeat for multiple keys. |
--description <text> | Set the application description. |
--volume-runner <id> | Pin the application and its volumes to this runner. |
--egress <none|full> | Set outbound network access. |
--ingress <private|public> | Enable or disable generated Public Networking. |
--json | Print machine-readable results. |
Global flags, environments and CLI credentials ↗
Examples#
Example 1bash
inquir apps create web --port 3000
Example 2bash
inquir apps create db --template postgres
Example 3bash
inquir apps create cache --template redis --project shop
Behavior#
Project selection order: --project, then projects use; with neither, the platform creates a project named after the application.
Ordinary creation saves configuration and does not deploy an image. Template creation waits for its first release, including with --json.