diff --git a/wrangler.jsonc b/wrangler.jsonc new file mode 100644 index 0000000..ff72a31 --- /dev/null +++ b/wrangler.jsonc @@ -0,0 +1,96 @@ +// documint — Cloudflare Workers configuration +{ + "name": "documint", + "main": "src/worker.js", + "compatibility_date": "2025-09-01", + "compatibility_flags": [ + "nodejs_compat" + ], + "account_id": "0bc21e3a5a9de1a4cc843be9c3e98121", + "observability": { + "enabled": false, + "head_sampling_rate": 1, + "logs": { + "enabled": true, + "head_sampling_rate": 1, + "persist": true, + "invocation_logs": true + }, + "traces": { + "enabled": true, + "persist": true, + "head_sampling_rate": 1 + } + }, + "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" + }, + "env": { + "staging": { + "name": "documint-staging", + "routes": [ + { + "pattern": "documint-staging.chitty.cc/*", + "zone_name": "chitty.cc" + } + ], + "vars": { + "ENVIRONMENT": "staging" + } + }, + "dev": { + "name": "documint-dev", + "vars": { + "ENVIRONMENT": "development" + } + } + } +}