-
Notifications
You must be signed in to change notification settings - Fork 1
/
sst.config.ts
32 lines (29 loc) · 782 Bytes
/
sst.config.ts
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
26
27
28
29
30
31
32
import { SSTConfig } from "sst";
import { ApiStack } from "./stacks/ApiStack";
import { WebStack } from "./stacks/WebStack";
import { CronStack } from "./stacks/CronStack";
import { EventStack } from "./stacks/EventStack";
import { ConfigStack } from "./stacks/ConfigStack";
export default {
config(_input) {
return {
name: "internetcheckpoint",
region: "us-east-1",
};
},
stacks(app) {
app.setDefaultFunctionProps({
runtime: "nodejs18.x",
timeout: 10 * 60,
environment: {
...(app.local && { FIREBASE_AUTH_EMULATOR_HOST: "127.0.0.1:9099" }),
},
});
app
.stack(ConfigStack)
.stack(ApiStack)
.stack(WebStack);
// .stack(EventStack)
// .stack(CronStack);
}
} satisfies SSTConfig;