-
Notifications
You must be signed in to change notification settings - Fork 10
/
flightcontrol.json
113 lines (113 loc) · 3.78 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
106
107
108
109
110
111
112
113
{
"$schema": "https://app.flightcontrol.dev/schema.json",
"environments": [
{
"id": "production",
"name": "Production",
"region": "eu-central-1",
"source": {
"branch": "main"
},
"services": [
{
"id": "researchequals",
"name": "researchequals",
"type": "fargate",
"cpu": 0.5,
"memory": 1024,
"domain": "www.researchequals.com",
"buildType": "nixpacks",
"minInstances": 1,
"maxInstances": 1,
"buildCommand": "npx blitz prisma migrate deploy && npx blitz db seed && npm run build",
"startCommand": "quirrel ci && npm run start:production",
"envVariables": {
"NIXPACKS_VERSION": "1.18.0",
"NIXPACKS_PKGS": "python39,gnumake,gcc9",
"NIXPACKS_PYTHON_VERSION": "3.9",
"ALGOLIA_API_ADMIN_KEY": {
"fromParameterStore": "ALGOLIA_API_ADMIN_KEY"
},
"ALGOLIA_API_SEARCH_KEY": {
"fromParameterStore": "ALGOLIA_API_SEARCH_KEY"
},
"ALGOLIA_APP_ID": {
"fromParameterStore": "ALGOLIA_APP_ID"
},
"ALGOLIA_PREFIX": "production",
"APP_ENV": "production",
"APP_ORIGIN": "https://researchequals.com",
"CROSSREF_LOGIN_ID": {
"fromParameterStore": "CROSSREF_LOGIN_ID"
},
"CROSSREF_LOGIN_PASSWD": {
"fromParameterStore": "CROSSREF_LOGIN_PASSWD"
},
"CROSSREF_URL": "https://doi.crossref.org/servlet/deposit",
"DATABASE_URL": {
"fromService": {
"id": "researchequals-prod-db",
"value": "dbConnectionString"
}
},
"DOI_PREFIX": "10.53962",
"ORCID_CLIENT_ID": { "fromParameterStore": "ORCID_CLIENT_ID" },
"ORCID_CLIENT_SANDBOX": "false",
"ORCID_CLIENT_SECRET": {
"fromParameterStore": "ORCID_CLIENT_SECRET"
},
"POSTMARK_TOKEN": {
"fromParameterStore": "POSTMARK_TOKEN"
},
"POSTMARK_SECRET": {
"fromParameterStore": "POSTMARK_SECRET"
},
"PORT": "3000",
"MAIL_FROM": "[email protected]",
"QUIRREL_BASE_URL": "https://www.researchequals.com/",
"QUIRREL_ENCRYPTION_SECRET": {
"fromParameterStore": "QUIRREL_ENCRYPTION_SECRET"
},
"QUIRREL_API_URL": {
"fromParameterStore": "QUIRREL_API_URL"
},
"QUIRREL_TOKEN": {
"fromParameterStore": "QUIRREL_TOKEN"
},
"SESSION_SECRET_KEY": {
"fromParameterStore": "SESSION_SECRET_KEY"
},
"STRIPE_PUBLISHABLE_KEY": {
"fromParameterStore": "STRIPE_PUBLISHABLE_KEY"
},
"STRIPE_SECRET_KEY": {
"fromParameterStore": "STRIPE_SECRET_KEY"
},
"STRIPE_WEBHOOK_SECRET": {
"fromParameterStore": "STRIPE_WEBHOOK_SECRET"
},
"UPLOADCARE_LOCALE": "en",
"UPLOADCARE_PUBLIC_KEY": {
"fromParameterStore": "UPLOADCARE_PUBLIC_KEY"
},
"UPLOADCARE_SECRET_KEY": {
"fromParameterStore": "UPLOADCARE_SECRET_KEY"
}
}
},
{
"id": "researchequals-prod-db",
"name": "researchequals-prod-db",
"type": "rds",
"engine": "postgres",
"engineVersion": "13",
"instanceSize": "db.t4g.small",
"storage": 50,
"maxStorage": 1000,
"private": false,
"deletionProtection": true
}
]
}
]
}