|
58 | 58 | "binding": "MCP_METRICS", |
59 | 59 | "dataset": "mcp-metrics-dev" |
60 | 60 | } |
61 | | - ] |
| 61 | + ], |
| 62 | + "env": { |
| 63 | + "staging": { |
| 64 | + "name": "mcp-cloudflare-workers-containers-staging", |
| 65 | + "account_id": "6702657b6aa048cf3081ff3ff3c9c52f", |
| 66 | + "routes": [{ "pattern": "containers-staging.mcp.cloudflare.com", "custom_domain": true }], |
| 67 | + "containers": [{ |
| 68 | + "name": "sandbox-container", |
| 69 | + "image": "./Dockerfile", |
| 70 | + "class_name": "ContainerMcpAgent", |
| 71 | + "max_instances": 2, |
| 72 | + "rollout_step_percentage": 100, |
| 73 | + "image_build_context": "../../" |
| 74 | + }], |
| 75 | + "ai": { |
| 76 | + "binding": "AI" |
| 77 | + }, |
| 78 | + "durable_objects": { |
| 79 | + "bindings": [ |
| 80 | + { |
| 81 | + "class_name": "ContainerMcpAgent", |
| 82 | + "name": "CONTAINER_MCP_AGENT" |
| 83 | + }, |
| 84 | + { |
| 85 | + "class_name": "ContainerManager", |
| 86 | + "name": "CONTAINER_MANAGER" |
| 87 | + } |
| 88 | + ] |
| 89 | + }, |
| 90 | + "kv_namespaces": [ |
| 91 | + { |
| 92 | + "binding": "OAUTH_KV", |
| 93 | + "id": "65cf7200dde9433aa8fbab5a935e071d" |
| 94 | + } |
| 95 | + ], |
| 96 | + "vars": { |
| 97 | + "ENVIRONMENT": "staging", |
| 98 | + "MCP_SERVER_NAME": "sandbox-container", |
| 99 | + "MCP_SERVER_VERSION": "1.0.0" |
| 100 | + }, |
| 101 | + "analytics_engine_datasets": [ |
| 102 | + { |
| 103 | + "binding": "MCP_METRICS", |
| 104 | + "dataset": "mcp-metrics-staging" |
| 105 | + } |
| 106 | + ] |
| 107 | + }, |
| 108 | + // "production": { |
| 109 | + // "name": "mcp-cloudflare-workers-observability-production", |
| 110 | + // "account_id": "8995c0f49cdcf57eb54d2c1e52b7d2f3", |
| 111 | + // "routes": [{ "pattern": "containers.mcp.cloudflare.com", "custom_domain": true }], |
| 112 | + // "durable_objects": { |
| 113 | + // "bindings": [ |
| 114 | + // { |
| 115 | + // "class_name": "ContainerMcpAgent", |
| 116 | + // "name": "CONTAINER_MCP_AGENT" |
| 117 | + // }, |
| 118 | + // { |
| 119 | + // "class_name": "ContainerManager", |
| 120 | + // "name": "CONTAINER_MANAGER" |
| 121 | + // } |
| 122 | + // ] |
| 123 | + // }, |
| 124 | + // "kv_namespaces": [ |
| 125 | + // { |
| 126 | + // "binding": "OAUTH_KV", |
| 127 | + // "id": "f9782295993747df90c29c45ca89edb1" |
| 128 | + // } |
| 129 | + // ], |
| 130 | + // "vars": { |
| 131 | + // "ENVIRONMENT": "production" |
| 132 | + // } |
| 133 | + // } |
| 134 | + } |
62 | 135 | } |
0 commit comments