-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
87 lines (77 loc) · 2.23 KB
/
wrangler.jsonc
File metadata and controls
87 lines (77 loc) · 2.23 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
// documint — Cloudflare Workers configuration
// @canon chittycanon://core/services/documint
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "documint",
"main": "src/worker.js",
"compatibility_date": "2026-03-01",
"compatibility_flags": ["nodejs_compat"],
"account_id": "0bc21e3a5a9de1a4cc843be9c3e98121",
"observability": {
"enabled": true,
"head_sampling_rate": 1,
"logs": {
"enabled": true,
"head_sampling_rate": 1,
"persist": true,
"invocation_logs": true
}
},
"tail_consumers": [
{ "service": "chittytrack" }
],
"routes": [
{ "pattern": "documint.chitty.cc/*", "zone_name": "chitty.cc" },
{ "pattern": "api.chitty.cc/documint/*", "zone_name": "chitty.cc" }
],
"kv_namespaces": [
{ "binding": "DOCUMINT_CACHE", "id": "7809a9bc99ef43cc9ecc05f296c7bc08" },
{ "binding": "PROOFS", "id": "b7ee5b57ca224279827cc761e6b7146a" }
],
"durable_objects": {
"bindings": [
{ "name": "PROOF_STATE", "class_name": "ProofStateDO" }
]
},
"migrations": [
{ "tag": "v1", "new_classes": ["ProofStateDO"] },
{ "tag": "v2", "deleted_classes": ["BatchAccumulator"] }
],
"vars": {
"ENVIRONMENT": "production",
"VERSION": "1.0.0"
},
// Secrets (set via `wrangler secret put <NAME>`):
// CHITTY_AUTH_SERVICE_TOKEN — Bearer token auth
// SIGNING_KEY_JWK — Persistent ECDSA P-256 private key (JWK)
// INTERNAL_SERVICE_TOKEN — Durable Object internal auth
// CHITTY_ID — Service identity
// DNS: Requires proxied AAAA record → documint.chitty.cc → 100::
"env": {
"production": {
"name": "documint",
"routes": [
{ "pattern": "documint.chitty.cc/*", "zone_name": "chitty.cc" },
{ "pattern": "api.chitty.cc/documint/*", "zone_name": "chitty.cc" }
],
"vars": {
"ENVIRONMENT": "production"
}
},
"staging": {
"name": "documint-staging",
"routes": [
{ "pattern": "documint-staging.chitty.cc/*", "zone_name": "chitty.cc" }
],
"vars": {
"ENVIRONMENT": "staging"
}
},
"dev": {
"name": "documint-dev",
"vars": {
"ENVIRONMENT": "development"
}
}
}
}