-
Notifications
You must be signed in to change notification settings - Fork 3
/
flightcontrol.json
69 lines (69 loc) · 1.79 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
{
"environments": [
{
"id": "development",
"name": "Development",
"region": "us-east-2",
"source": {
"branch": "main"
},
"services": [
{
"id": "redwood-api",
"name": "Redwood API",
"type": "fargate",
"buildType": "nixpacks",
"cpu": 0.25,
"memory": 0.5,
"buildCommand": "yarn rw deploy flightcontrol api",
"startCommand": "yarn rw deploy flightcontrol api --serve",
"port": 8911,
"healthCheckPath": "/graphql/health",
"envVariables": {
"REDWOOD_WEB_URL": {
"fromService": {
"id": "redwood-web",
"value": "origin"
}
},
"DATABASE_URL": {
"fromService": {
"id": "db",
"value": "dbConnectionString"
}
}
}
},
{
"id": "redwood-web",
"name": "Redwood Web",
"type": "static",
"singlePageApp": true,
"buildType": "nixpacks",
"installCommand": "yarn set version self && NODE_ENV=development yarn install",
"buildCommand": "yarn rw deploy flightcontrol web",
"outputDirectory": "web/dist",
"envVariables": {
"REDWOOD_API_URL": {
"fromService": {
"id": "redwood-api",
"value": "origin"
}
}
}
},
{
"id": "db",
"name": "Database",
"type": "rds",
"engine": "postgres",
"engineVersion": "13",
"instanceSize": "db.t4g.micro",
"port": 5432,
"storage": 20,
"private": false
}
]
}
]
}