diff --git a/src/content/docs/workers/wrangler/configuration.mdx b/src/content/docs/workers/wrangler/configuration.mdx index a280c803ffd0be0..7479e0c63baf573 100644 --- a/src/content/docs/workers/wrangler/configuration.mdx +++ b/src/content/docs/workers/wrangler/configuration.mdx @@ -1091,6 +1091,8 @@ The following options are available: - The instance type of the container. This determines the amount of memory, CPU, and disk given to the container instance. The current options are `"dev"`, `"basic"`, and `"standard"`. The default is `"dev"`. For more information, the see [instance types documentation](/containers/platform-details#instance-types). + + - To specify a custom instance type, see [here](#custom-instance-types). - `max_instances` @@ -1134,6 +1136,39 @@ new_sqlite_classes = ["MyContainer"] +### Custom Instance Types + +:::note +For Enterprise customers only. +::: + +In place of the [named instance types](/containers/platform-details#instance-types), you can set a custom instance type by +individually configuring vCPU, memory, and disk. + +The following options are available: + +- `vcpu` + + - The vCPU to be used by your container. Defaults to `0.0625` (1/16 vCPU). + +- `memory_mib` + + - The memory to be used by your container, in MiB. Defaults to `256`. + +- `disk_mb` + + - The disk to be used by your container, in MB. Defaults to `2000` (2GB). + + + +```toml title="wrangler.toml" +[[containers]] +image = "./Dockerfile" +instance_type = { vcpu = 1, memory_mib = 1024, disk_mb = 4000 } +``` + + + ## Bundling :::note