Skip to content

Commit eabee72

Browse files
committed
modify configs
1 parent d802004 commit eabee72

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

apps/sandbox-container/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"check:types": "run-tsc",
88
"deploy": "wrangler deploy",
99
"dev": "concurrently \"tsx container/index.ts\" \"wrangler dev --var \"ENVIRONMENT:dev\"\"",
10-
"build:container": "docker build --tag sandbox-container:$(git rev-parse --short HEAD) -f Dockerfile ../../ && wrangler containers push sandbox-container:$(git rev-parse --short HEAD)",
10+
"build:container": "docker build --platform linux/amd64 --tag sandbox-container:$(git rev-parse --short HEAD) -f Dockerfile ../../ && wrangler containers push sandbox-container:$(git rev-parse --short HEAD)",
1111
"start": "wrangler dev",
1212
"start:container": "tsx container/index.ts",
1313
"postinstall": "mkdir -p workdir",

apps/sandbox-container/wrangler.jsonc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,16 @@
108108
"production": {
109109
"name": "mcp-cloudflare-container-sandbox-production",
110110
"account_id": "6702657b6aa048cf3081ff3ff3c9c52f",
111-
"routes": [{ "pattern": "sandbox.mcp.cloudflare.com", "custom_domain": true }],
111+
"routes": [{ "pattern": "containers.mcp.cloudflare.com", "custom_domain": true }],
112112
"containers": [
113113
{
114114
"name": "sandbox-container",
115115
// UPDATE WHEN DEPLOYING A NEW IMAGE
116-
"image": "registry.cloudchamber.cfdata.org/sandbox-container:1acac68",
116+
"image": "registry.cloudchamber.cfdata.org/sandbox-container:d802004",
117117
"class_name": "ContainerMcpAgent",
118-
"max_instances": 20,
118+
"max_instances": 30,
119119
"rollout_step_percentage": 100,
120-
"instances": 20,
120+
"instances": 3,
121121
}
122122
],
123123
"durable_objects": {
@@ -133,8 +133,6 @@
133133
]
134134
},
135135
"vars": {
136-
"CLOUDFLARE_CLIENT_ID": "<PLACEHOLDER>",
137-
"CLOUDFLARE_CLIENT_SECRET": "<PLACEHOLDER>",
138136
"ENVIRONMENT": "prod",
139137
"MCP_SERVER_NAME": "<PLACEHOLDER>",
140138
"MCP_SERVER_VERSION": "<PLACEHOLDER>"

0 commit comments

Comments
 (0)