From 59362461f14f3740010802646c8b7a31db4ff5e7 Mon Sep 17 00:00:00 2001 From: Kian Newman-Hazel Date: Thu, 31 Jul 2025 20:07:24 +0100 Subject: [PATCH 1/2] [Containers] Update built-in environment variables list --- src/content/docs/containers/platform-details.mdx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/content/docs/containers/platform-details.mdx b/src/content/docs/containers/platform-details.mdx index bd0787cf6f0f8a..33da668b7922e1 100644 --- a/src/content/docs/containers/platform-details.mdx +++ b/src/content/docs/containers/platform-details.mdx @@ -9,7 +9,6 @@ sidebar: import { WranglerConfig } from "~/components"; - ## Instance Types The memory, vCPU, and disk space for Containers are set through predefined instance types. @@ -25,16 +24,15 @@ These are specified using the [`instance_type` property](/workers/wrangler/confi ## Limits - While in open beta, the following limits are currently in effect: -| Feature | Workers Paid | -| ------------------------------------------------- | ------------ | +| Feature | Workers Paid | +| ----------------------------------------------------- | ------------ | | GB Memory for all concurrent live Container instances | 40GB [^1] | | vCPU for all concurrent live Container instances | 20 [^1] | | GB Disk for all concurrent live Container instances | 100GB [^1] | -| Image size | 2 GB | -| Total image storage per account | 50 GB [^2] | +| Image size | 2 GB | +| Total image storage per account | 50 GB [^2] | [^1]: This limit will be raised as we continue the beta. @@ -44,12 +42,13 @@ While in open beta, the following limits are currently in effect: The container runtime automatically sets the following variables: -- `CLOUDFLARE_COUNTRY_A2` - a two-letter code of a country the container is placed in +- `CLOUDFLARE_APPLICATION_ID` - the ID of the Containers application +- `CLOUDFLARE_COUNTRY_A2` - the [ISO 3166-1 Alpha 2 code](https://www.iso.org/obp/ui/#search/code/) of a country the container is placed in - `CLOUDFLARE_DEPLOYMENT_ID` - the ID of the container instance - `CLOUDFLARE_LOCATION` - a name of a location the container is placed in -- `CLOUDFLARE_NODE_ID` - an ID of a machine the container runs on - `CLOUDFLARE_PLACEMENT_ID` - a placement ID - `CLOUDFLARE_REGION` - a region name +- `CLOUDFLARE_DURABLE_OBJECT_ID` - the ID of the Durable Object that the container is bound to :::note If you supply environment variables with the same names, supplied values will override predefined values. From e5a2f4081635cf73417e28dc4bbbe4ee7702cf0d Mon Sep 17 00:00:00 2001 From: Kian Newman-Hazel Date: Thu, 31 Jul 2025 21:51:34 +0100 Subject: [PATCH 2/2] fix containers codeowners --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a1cbe079d56408..b2cee9c736f8df 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -95,7 +95,7 @@ # Developer Platform -/src/content/containers/ @mikenomitch @th0m @cloudflare/pcx-technical-writing +/src/content/docs/containers/ @mikenomitch @th0m @cloudflare/pcx-technical-writing /src/content/release-notes/containers.yaml @mikenomitch @th0m @cloudflare/pcx-technical-writing /src/content/docs/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing /src/content/release-notes/d1.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing