Skip to content

Commit aa7d221

Browse files
authored
[Containers] Update built-in environment variables list (#24104)
1 parent 1e37998 commit aa7d221

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595

9696
# Developer Platform
9797

98-
/src/content/containers/ @mikenomitch @th0m @cloudflare/pcx-technical-writing
98+
/src/content/docs/containers/ @mikenomitch @th0m @cloudflare/pcx-technical-writing
9999
/src/content/release-notes/containers.yaml @mikenomitch @th0m @cloudflare/pcx-technical-writing
100100
/src/content/docs/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing
101101
/src/content/release-notes/d1.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing

src/content/docs/containers/platform-details.mdx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ sidebar:
99

1010
import { WranglerConfig } from "~/components";
1111

12-
1312
## Instance Types
1413

1514
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
2524

2625
## Limits
2726

28-
2927
While in open beta, the following limits are currently in effect:
3028

31-
| Feature | Workers Paid |
32-
| ------------------------------------------------- | ------------ |
29+
| Feature | Workers Paid |
30+
| ----------------------------------------------------- | ------------ |
3331
| GB Memory for all concurrent live Container instances | 40GB [^1] |
3432
| vCPU for all concurrent live Container instances | 20 [^1] |
3533
| GB Disk for all concurrent live Container instances | 100GB [^1] |
36-
| Image size | 2 GB |
37-
| Total image storage per account | 50 GB [^2] |
34+
| Image size | 2 GB |
35+
| Total image storage per account | 50 GB [^2] |
3836

3937
[^1]: This limit will be raised as we continue the beta.
4038

@@ -44,12 +42,13 @@ While in open beta, the following limits are currently in effect:
4442

4543
The container runtime automatically sets the following variables:
4644

47-
- `CLOUDFLARE_COUNTRY_A2` - a two-letter code of a country the container is placed in
45+
- `CLOUDFLARE_APPLICATION_ID` - the ID of the Containers application
46+
- `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
4847
- `CLOUDFLARE_DEPLOYMENT_ID` - the ID of the container instance
4948
- `CLOUDFLARE_LOCATION` - a name of a location the container is placed in
50-
- `CLOUDFLARE_NODE_ID` - an ID of a machine the container runs on
5149
- `CLOUDFLARE_PLACEMENT_ID` - a placement ID
5250
- `CLOUDFLARE_REGION` - a region name
51+
- `CLOUDFLARE_DURABLE_OBJECT_ID` - the ID of the Durable Object that the container is bound to
5352

5453
:::note
5554
If you supply environment variables with the same names, supplied values will override predefined values.

0 commit comments

Comments
 (0)