aboutsummaryrefslogtreecommitdiffstats
path: root/wrangler.celld.jsonc
blob: 2e3775610caa284ad7858bc9766acf25c10dfab8 (plain) (blame)
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
{
  // celld deployment config (local/self-hosted). Identical to wrangler.jsonc
  // except GIT_TOKEN rides as a var: celld has string vars, not secrets.
  // For a real fleet, change the token before deploying.
  // NOTE: the script name stays "git-cells" — Durable Object data is bound
  // to it, and renaming would orphan every hosted repository.
  "name": "git-cells",
  "main": "src/index.ts",
  "compatibility_date": "2026-08-01",
  "durable_objects": {
    "bindings": [
      { "name": "REPO", "class_name": "RepoCell" },
      { "name": "REGISTRY", "class_name": "Registry" }
    ]
  },
  "migrations": [
    { "tag": "v1", "new_sqlite_classes": ["RepoCell", "Registry"] }
  ],
  "vars": {
    "SITE_NAME": "dgit",
    "SITE_DESC": "a fast webinterface for the git dscm, on celld",
    "SITE_OWNER": "",
    "GIT_TOKEN": "devtoken"
  }
}