Files
kilocode/infra/enterprise.ts
T
2026-04-24 14:18:25 +02:00

18 lines
558 B
TypeScript

import { SECRET } from "./secret"
import { shortDomain } from "./stage"
const storage = new sst.cloudflare.Bucket("EnterpriseStorage")
new sst.cloudflare.x.SolidStart("Teams", {
domain: shortDomain,
path: "packages/enterprise",
buildCommand: "bun run build:cloudflare",
environment: {
KILO_STORAGE_ADAPTER: "r2",
KILO_STORAGE_ACCOUNT_ID: sst.cloudflare.DEFAULT_ACCOUNT_ID,
KILO_STORAGE_ACCESS_KEY_ID: SECRET.R2AccessKey.value,
KILO_STORAGE_SECRET_ACCESS_KEY: SECRET.R2SecretKey.value,
KILO_STORAGE_BUCKET: storage.name,
},
})