g1t/services/identity/wrangler.jsonc
| 1 | { |
| 2 | "$schema": "../../node_modules/wrangler/config-schema.json", |
| 3 | "name": "g1t-identity", |
| 4 | "account_id": "1e6f2cffa3f445920836e8ebe446bb58", |
| 5 | "compatibility_date": "2026-09-26", |
| 6 | // Runs next to its database: a request makes several queries in turn, |
| 7 | // and each would otherwise cross the distance to it. |
| 8 | "placement": { "mode": "smart" }, |
| 9 | "main": "build/index.js", |
| 10 | "build": { "command": "cargo install -q worker-build@0.8.7 && worker-build --release" }, |
| 11 | // Reached only through service bindings. |
| 12 | "workers_dev": false, |
| 13 | "d1_databases": [ |
| 14 | { |
| 15 | "binding": "DB", |
| 16 | "database_name": "g1t", |
| 17 | "database_id": "b7d49c93-2666-4006-a3c3-073a01838dc9", |
| 18 | "migrations_dir": "migrations" |
| 19 | } |
| 20 | ], |
| 21 | "send_email": [{ "name": "EMAIL", "remote": true }], |
| 22 | // Uploaded avatars, keyed by the SHA-256 of their bytes. Only this |
| 23 | // service writes them; the site reads them to serve /avatars/<hash>. |
| 24 | "kv_namespaces": [{ "binding": "AVATARS", "id": "e627b571f07047e187c03e1fc2b3bbdd" }], |
| 25 | // Renaming a workspace publishes workspace.renamed, so every service |
| 26 | // moves what it keeps under the old slug. |
| 27 | "services": [{ "binding": "EVENTS", "service": "g1t-events" }], |
| 28 | "observability": { "enabled": true } |
| 29 | } |