flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/services/work/wrangler.jsonc

29 lines978 bytesCodeBlame
1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-work",
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 "workers_dev": false,
12 "d1_databases": [
13 {
14 "binding": "DB",
15 "database_name": "g1t-work",
16 "database_id": "f35a9022-e36b-4547-b596-9ab9d5f1c47a",
17 "migrations_dir": "migrations"
18 }
19 ],
20 "services": [
21 { "binding": "IDENTITY", "service": "g1t-identity" },
22 { "binding": "REPOS", "service": "g1t-repos" },
23 { "binding": "EVENTS", "service": "g1t-events" }
24 ],
25 "queues": {
26 "consumers": [{ "queue": "g1t-events-work", "max_batch_size": 100, "max_batch_timeout": 1 }]
27 },
28 "observability": { "enabled": true }
29}