ignore: cloud stuff

This commit is contained in:
Dax Raad
2025-08-20 16:52:43 -04:00
parent dda672284c
commit 522bed6b7d
18 changed files with 180 additions and 30 deletions

View File

@@ -10,7 +10,7 @@ const DATABASE_USERNAME = new sst.Secret("DATABASE_USERNAME")
const DATABASE_PASSWORD = new sst.Secret("DATABASE_PASSWORD")
export const database = new sst.Linkable("Database", {
properties: {
host: "aws-us-east-2-1.pg.psdb.cloud",
host: `aws-us-east-2-${$app.stage === "thdxr" ? "2" : "1"}.pg.psdb.cloud`,
database: "postgres",
username: DATABASE_USERNAME.value,
password: DATABASE_PASSWORD.value,
@@ -106,6 +106,7 @@ export const gateway = new sst.cloudflare.Worker("GatewayApi", {
// CONSOLE
////////////////
/*
export const console = new sst.cloudflare.x.StaticSite("Console", {
domain: `console.${domain}`,
path: "cloud/web",
@@ -119,3 +120,15 @@ export const console = new sst.cloudflare.x.StaticSite("Console", {
VITE_AUTH_URL: auth.url.apply((url) => url!),
},
})
*/
new sst.x.DevCommand("Solid", {
link: [database],
dev: {
directory: "cloud/app",
command: "bun dev",
},
environment: {
VITE_AUTH_URL: auth.url.apply((url) => url!),
},
})