pr_01m47d15m3e54sn21z27rpy5n9/services/security/wrangler.jsonc

41 lines1,546 bytesCodeBlame
1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-security",
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-security",
17 // Create with `wrangler d1 create g1t-security` and put its id here.
18 "database_id": "a7febbca-768a-4828-97b8-dd69b2636e1e",
19 "migrations_dir": "migrations"
20 }
21 ],
22 "services": [
23 { "binding": "IDENTITY", "service": "g1t-identity" },
24 { "binding": "REPOS", "service": "g1t-repos" },
25 { "binding": "WORK", "service": "g1t-work" },
26 { "binding": "RUNNER", "service": "g1t-runner" },
27 { "binding": "BILLING", "service": "g1t-billing" }
28 ],
29 // Pushes to a default branch (dependencies are read again), new
30 // repositories (their history is scanned once) and renamed workspaces.
31 "queues": {
32 "consumers": [{ "queue": "g1t-events-security", "max_batch_size": 10, "max_batch_timeout": 5 }]
33 },
34 // Continues history scans a page at a time, and reads every
35 // repository's dependencies again once a day.
36 "triggers": { "crons": ["*/30 * * * *"] },
37 "vars": {
38 "SITE_URL": "https://g1t.sh"
39 },
40 "observability": { "enabled": true }
41}