forked from siddhsuresh/app-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflightcontrol.json
105 lines (105 loc) · 2.64 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"$schema": "https://app.flightcontrol.dev/schema.json",
"environments": [
{
"id": "production-env",
"name": "Production",
"region": "us-east-1",
"source": {
"branch": "main",
"pr": false,
"trigger": "push"
},
"envVariables": {
"NIXPACKS_NODE_VERSION": "20",
"NIXPACKS_VERSION": "1.29.0"
},
"services": [
{
"ci": {
"type": "ec2",
"storageIops": 3000,
"storageType": "gp3",
"instanceStorage": 30,
"storageThroughput": 125
},
"id": "worker",
"name": "Worker",
"type": "worker",
"basePath": ".",
"buildType": "docker",
"dockerfilePath": "Dockerfile",
"dockerContext": ".",
"envVariables": {},
"versionHistoryCount": 10,
"cpu": 1,
"memory": 2
},
{
"ci": {
"type": "codebuild"
},
"id": "worker-codebuild",
"name": "Worker - Codebuild + Nixpacks",
"type": "worker",
"basePath": ".",
"buildType": "nixpacks",
"installCommand": "pnpm install --no-frozen-lockfile",
"buildCommand": "next build",
"startCommand": "next start",
"envVariables": {
"NIXPACKS_NODE_VERSION": "20",
"NIXPACKS_VERSION": "1.29.0"
},
"versionHistoryCount": 10,
"cpu": 1,
"memory": 2
}
]
},
{
"envVariables": {},
"id": "preview-BUShCm",
"name": "Preview",
"region": "ca-central-1",
"services": [
{
"autoscaling": {
"cooldownTimerSecs": 300,
"cpuThreshold": 70,
"memoryThreshold": 70
},
"basePath": ".",
"buildType": "nixpacks",
"ci": {
"instanceStorage": 30,
"storageIops": 3000,
"storageThroughput": 125,
"storageType": "gp3",
"type": "ec2"
},
"containerInsights": false,
"cpu": 1,
"envVariables": {},
"gpu": 0,
"id": "worker-1YTMgD-preview",
"includeEnvVariablesInBuild": true,
"maxInstances": 1,
"memory": 2,
"minInstances": 1,
"name": "Worker - preview",
"privileged": false,
"target": {
"type": "fargate"
},
"type": "worker",
"versionHistoryCount": 10
},
],
"source": {
"pr": true,
"trigger": "push"
}
}
]
}