-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
102 lines (102 loc) · 2.41 KB
/
Copy pathwrangler.jsonc
File metadata and controls
102 lines (102 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "cloudbox",
"main": "web/dist/_worker.js/index.js",
"compatibility_date": "2026-01-14",
"compatibility_flags": [
"nodejs_compat"
],
"workers_dev": true,
"assets": {
"directory": "web/dist",
"binding": "ASSETS"
},
"observability": {
"enabled": true
},
"vars": {
"CLOUDBOX_MODEL": "@cf/meta/llama-3.1-8b-instruct"
// GITLAB_OAUTH_APP_ID is set only when a Cloudbox-owned OAUTH_PROXY
// service binding is configured. Private Git transport remains disabled
// until narrow HTTPS interception is reviewed and enabled.
},
"d1_databases": [
{
"binding": "DB",
"database_name": "cloudbox",
"database_id": "bd767c58-b996-4e51-a99a-8461c03bdb42",
"migrations_dir": "migrations"
}
],
"r2_buckets": [
{
"binding": "ARTIFACTS",
"bucket_name": "cloudbox-artifacts"
}
],
"ai": {
"binding": "AI"
},
// Add after deploying the Cloudbox-owned broker worker:
// "services": [{ "binding": "OAUTH_PROXY", "service": "cloudbox-oauth-proxy" }],
"durable_objects": {
"bindings": [
{
"name": "CLOUDBOX_COMPUTER",
"class_name": "ComputerDO"
},
{
"name": "CLOUDBOX_RUNNER",
"class_name": "CloudboxRunner"
},
{
"name": "CLOUDBOX_DESKTOP_RUNNER",
"class_name": "CloudboxDesktopRunner"
},
{
"name": "CLOUDBOX_SANDBOX",
"class_name": "CloudboxSandbox"
}
]
},
"migrations": [
{
"tag": "v1",
"new_sqlite_classes": [
"ComputerDO"
]
},
{
"tag": "v2",
"new_sqlite_classes": [
"CloudboxSandbox"
]
}
],
"containers": [
{
"name": "cloudbox-runner",
"class_name": "CloudboxRunner",
"image": "./runner/Dockerfile",
"image_build_context": "./runner",
"instance_type": "lite",
"max_instances": 2
},
{
"name": "cloudbox-desktop-runner",
"class_name": "CloudboxDesktopRunner",
"image": "./runner-desktop/Dockerfile",
"image_build_context": "./runner",
"instance_type": "standard-1",
"max_instances": 1
},
{
"name": "cloudbox-computer",
"class_name": "CloudboxSandbox",
"image": "./computer/Dockerfile",
"image_build_context": ".",
"instance_type": "standard-1",
"max_instances": 5
}
]
}