This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflightcontrol.json
61 lines (61 loc) · 1.77 KB
/
flightcontrol.json
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"$schema": "https://app.flightcontrol.dev/schema.json",
"envVariables": {},
"environments": [
{
"name": "Blitz.js Demo",
"region": "us-east-1",
"source": {"pr": false, "branch": "main", "trigger": "push"},
"services": [
{
"id": "blitz-app",
"name": "Blitz App",
"buildType": "nixpacks",
"cpu": 0.25,
"memory": 0.5,
"containerInsights": false,
"minInstances": 1,
"maxInstances": 1,
"versionHistoryCount": 10,
"basePath": ".",
"buildCommand": "blitz build && blitz prisma migrate deploy",
"startCommand": "blitz start",
"dockerfilePath": "Dockerfile",
"dockerContext": ".",
"envVariables": {
"NODE_OPTIONS": "--openssl-legacy-provider",
"SESSION_SECRET_KEY": "a2f5fedb8c6c03c9d06c648da2c1a7c4"
},
"autoscaling": {
"cpuThreshold": 70,
"memoryThreshold": 70,
"cooldownTimerSecs": 300,
"requestsPerTarget": 500
},
"type": "fargate",
"healthCheckPath": "/",
"enableCloudfrontSwr": true,
"port": 3000
},
{
"id": "database",
"name": "Database",
"type": "rds",
"instanceSize": "db.t4g.micro",
"private": false,
"storage": 20,
"maxStorage": 100,
"autoUpgradeMinorVersions": true,
"applyChangesImmediately": false,
"deletionProtection": false,
"connectionStringEnvVarName": "DATABASE_URL",
"engine": "postgres",
"engineVersion": "15",
"port": 5432
}
],
"envVariables": {},
"id": "blitz-demo"
}
]
}