forked from unkeyed/unkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflightcontrol.staging.json
56 lines (56 loc) · 1.45 KB
/
flightcontrol.staging.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": "us-east-2",
"name": "us-east-2",
"region": "us-east-2",
"source": {
"branch": "main",
"pr": false,
"trigger": "manual"
},
"services": [
{
"id": "agent",
"name": "Agent",
"target": {
"type": "fargate"
},
"domain": "agent.staging.unkey.cloud",
"buildType": "docker",
"cpu": 0.25,
"gpu": 0,
"memory": 0.5,
"ci": {
"instanceSize": "c7a.4xlarge",
"instanceStorage": 250
},
"containerInsights": false,
"minInstances": 1,
"maxInstances": 4,
"versionHistoryCount": 10,
"basePath": ".",
"dockerContext": "./apps/agent",
"dockerfilePath": "./apps/agent/Dockerfile",
"envVariables": {
"REGION": "aws::us-east-2",
"AGENT_CONFIG_FILE": "config.staging.json",
"PORT": "8080"
},
"autoscaling": {
"cpuThreshold": 70,
"memoryThreshold": 70,
"cooldownTimerSecs": 300,
"requestsPerTarget": 500
},
"includeEnvVariablesInBuild": true,
"healthCheckPath": "/v1/liveness",
"port": 8080,
"enableCloudfrontSwr": false,
"type": "web"
}
]
}
]
}