-
Notifications
You must be signed in to change notification settings - Fork 3
/
flightcontrol.json
56 lines (56 loc) · 1.27 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
{
"$schema": "https://app.flightcontrol.dev/schema.json",
"environments": [
{
"id": "production",
"name": "Production",
"region": "us-west-2",
"source": {
"branch": "main"
},
"services": [
{
"id": "website",
"name": "Website",
"type": "fargate",
"buildType": "nixpacks",
"cpu": 0.5,
"memory": 1,
"minInstances": 2,
"maxInstances": 2,
"buildCommand": "npm run build",
"startCommand": "npm run start",
"enableCloudfrontSwr": true,
"envVariables": {},
"healthCheckPath": "/health"
}
]
},
{
"id": "preview",
"name": "preview",
"region": "us-west-2",
"source": {
"pr": true,
"filter": {
"toBranches": ["main"]
}
},
"services": [
{
"id": "website",
"name": "Website",
"type": "fargate",
"buildType": "nixpacks",
"cpu": 0.25,
"memory": 0.5,
"minInstances": 1,
"maxInstances": 1,
"buildCommand": "npm run build",
"startCommand": "npm run start",
"healthCheckPath": "/health"
}
]
}
]
}