-
Notifications
You must be signed in to change notification settings - Fork 0
/
flightcontrol.json
58 lines (58 loc) · 1.58 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
{
"$schema": "https://app.flightcontrol.dev/schema.json",
"environments": [
{
"id": "production",
"name": "Production",
"region": "eu-central-1",
"source": {
"branch": "main"
},
"services": [
{
"id": "libscie-mngr",
"name": "LibScie Manager",
"type": "fargate",
"buildType": "nixpacks",
"cpu": 0.25,
"memory": 0.5,
"domain": "mngr.libscie.org",
"minInstances": 1,
"maxInstances": 1,
"buildCommand": "blitz prisma generate && blitz build && blitz prisma migrate deploy",
"startCommand": "blitz start",
"enableCloudfrontSwr": true,
"envVariables": {
"APP_ENV": "production",
"APP_ORIGIN": "https://mngr.libscie.org",
"DATABASE_URL": {
"fromService": {
"id": "db",
"value": "dbConnectionString"
}
},
"GITHUB_CLIENT_ID": {
"fromParameterStore": "GITHUB_CLIENT_ID_MNGR"
},
"GITHUB_CLIENT_SECRET": {
"fromParameterStore": "GITHUB_CLIENT_SECRET_MNGR"
},
"SESSION_SECRET_KEY": {
"fromParameterStore": "SESSION_MNGR"
}
}
},
{
"id": "db",
"name": "Database",
"type": "rds",
"engine": "postgres",
"engineVersion": "13",
"instanceSize": "db.t4g.micro",
"storage": 20,
"private": true
}
]
}
]
}