|
@@ -6,8 +6,9 @@ const storage = new sst.cloudflare.Bucket("EnterpriseStorage")
|
|
|
console.log(SECRET.R2AccessKey.value, SECRET.R2SecretKey.value)
|
|
console.log(SECRET.R2AccessKey.value, SECRET.R2SecretKey.value)
|
|
|
const enterprise = new sst.cloudflare.x.SolidStart("Enterprise", {
|
|
const enterprise = new sst.cloudflare.x.SolidStart("Enterprise", {
|
|
|
domain: "enterprise." + domain,
|
|
domain: "enterprise." + domain,
|
|
|
|
|
+ path: "packages/enterprise",
|
|
|
|
|
+ buildCommand: "bun run build:cloudflare",
|
|
|
environment: {
|
|
environment: {
|
|
|
- OPENCODE_DEPLOYMENT_TARGET: "cloudflare",
|
|
|
|
|
OPENCODE_STORAGE_ADAPTER: "r2",
|
|
OPENCODE_STORAGE_ADAPTER: "r2",
|
|
|
OPENCODE_STORAGE_ACCOUNT_ID: sst.cloudflare.DEFAULT_ACCOUNT_ID,
|
|
OPENCODE_STORAGE_ACCOUNT_ID: sst.cloudflare.DEFAULT_ACCOUNT_ID,
|
|
|
OPENCODE_STORAGE_ACCESS_KEY_ID: SECRET.R2AccessKey.value,
|
|
OPENCODE_STORAGE_ACCESS_KEY_ID: SECRET.R2AccessKey.value,
|