1
1
{
2
- "$schema" : " https://app.flightcontrol.dev/schema.json" ,
3
- "environments" : [
4
- {
5
- "id" : " production-012wn26j1" ,
6
- "name" : " Production" ,
7
- "region" : " us-east-2" ,
8
- "source" : {
9
- "pr" : false ,
10
- "branch" : " main" ,
11
- "trigger" : " push"
12
- },
13
- "services" : [
14
- {
15
- "id" : " laravel-GVkfh7" ,
16
- "name" : " Laravel" ,
17
- "type" : " fargate" ,
18
- "port" : 8000 ,
19
- "buildType" : " nixpacks" ,
20
- "cpu" : 0.25 ,
21
- "memory" : 0.5 ,
22
- "basePath" : " ." ,
23
- "minInstances" : 1 ,
24
- "maxInstances" : 1 ,
25
- "installCommand" :" npm install && composer install && php artisan migrate --force" ,
26
- "startCommand" : " php artisan serve --host=0.0.0.0" ,
27
- "enableCloudfrontSwr" : false ,
28
- "healthCheckPath" : " /health" ,
29
- "versionHistoryCount" : 10 ,
30
- "envVariables" : {
31
- "APP_DEBUG" :" false" ,
32
- "DATABASE_URL" : {
33
- "fromService" : {
34
- "id" : " db" ,
35
- "value" : " dbConnectionString"
36
- }
37
- }
38
- }
39
- },
40
- {
41
- "id" : " dbdatabase-tNK6P7" ,
42
- "name" : " DB_Database" ,
43
- "port" : 5432 ,
44
- "type" : " rds" ,
45
- "engine" : " postgres" ,
46
- "instanceSize" : " db.t4g.micro" ,
47
- "storage" : 20 ,
48
- "private" : false ,
49
- "maxStorage" : 100 ,
50
- "engineVersion" : " 15" ,
51
- "deletionProtection" : false ,
52
- "applyChangesImmediately" : false ,
53
- "autoUpgradeMinorVersions" : true ,
54
- "connectionStringEnvVarName" : " DATABASE_URL"
55
- }
56
- ],
57
- "envVariables" : {}
58
- }
59
- ]
2
+ "envVariables" : {
3
+ "APP_DEBUG" :" true"
4
+ },
5
+ "environments" : [{"id" : " production-012wn26j1" , "name" : " Production" , "region" : " us-east-2" ,
6
+ "source" : {
7
+ "pr" : false ,
8
+ "branch" : " main" ,
9
+ "trigger" : " push"
10
+ },
11
+ "services" : [{
12
+ "id" : " laravel-GVkfh7" ,
13
+ "cpu" : 0.25 ,
14
+ "name" : " Laravel" ,
15
+ "port" : 8000 ,
16
+ "type" : " fargate" ,
17
+ "memory" : 0.5 ,
18
+ "basePath" : " ." ,
19
+ "buildType" : " nixpacks" ,
20
+ "autoscaling" : {
21
+ "cpuThreshold" : 70 ,
22
+ "memoryThreshold" : 70 ,
23
+ "cooldownTimerSecs" : 300 ,
24
+ "requestsPerTarget" : 500
25
+ },
26
+ "envVariables" : {},
27
+ "maxInstances" : 1 ,
28
+ "minInstances" : 1 ,
29
+ "startCommand" : " php artisan serve --host=0.0.0.0 " ,
30
+ "installCommand" : " npm install && composer install && php artisan migrate --force" ,
31
+ "healthCheckPath" : " /health" ,
32
+ "enableCloudfrontSwr" : false ,
33
+ "versionHistoryCount" : 10
34
+ },
35
+ {
36
+ "id" : " dbdatabase-tNK6P7" ,
37
+ "name" : " DB_Database" ,
38
+ "port" : 5432 ,
39
+ "type" : " rds" ,
40
+ "engine" : " postgres" ,
41
+ "private" : false ,
42
+ "storage" : 20 ,
43
+ "maxStorage" : 100 ,
44
+ "instanceSize" : " db.t4g.micro" ,
45
+ "engineVersion" : " 15" ,
46
+ "deletionProtection" : false ,
47
+ "applyChangesImmediately" : false ,
48
+ "autoUpgradeMinorVersions" : true ,
49
+ "connectionStringEnvVarName" : " DATABASE_URL"
50
+ }],
51
+ "envVariables" : {
52
+ "APP_DEBUG" :" true"
53
+ }}]
60
54
}
0 commit comments