Branchwell

Branchwell / source / wrangler.jsonc

1{
2 // Branchwell (branchwell.ai): open Git hosting with passkey sign-in and voting.
3 // Deploy: npm run deploy (builds src/static.ts, then wrangler deploy).
4 "$schema": "node_modules/wrangler/config-schema.json",
5 "name": "branchwell",
6 "main": "src/index.ts",
7 "compatibility_date": "2026-11-01",
8 "compatibility_flags": ["nodejs_compat"],
9 "workers_dev": false,
10 "routes": [
11 { "pattern": "branchwell.ai", "custom_domain": true },
12 { "pattern": "www.branchwell.ai", "custom_domain": true }
13 ],
14 "d1_databases": [
15 { "binding": "DB", "database_name": "branchwell", "database_id": "f80a0186-f65c-4ca2-af32-528cd5996208", "migrations_dir": "migrations" }
16 ],
17 "durable_objects": { "bindings": [{ "name": "REPO", "class_name": "RepoDO" }] },
18 "migrations": [{ "tag": "v1", "new_sqlite_classes": ["RepoDO"] }],
19 // Careers form posts to the shared careers-intake Worker.
20 "services": [{ "binding": "CAREERS", "service": "careers-intake" }],
21 "limits": { "cpu_ms": 120000 },
22 "observability": { "enabled": true }
23}