Skip to content

Commit c25ee7e

Browse files
authored
👷 deploy front without PG and Redis
1 parent 01a7044 commit c25ee7e

File tree

2 files changed

+53
-14
lines changed

2 files changed

+53
-14
lines changed

api/scalingo.json

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"name": "Pix Review App",
3+
"env": {
4+
"REVIEW_APP": {
5+
"description": "Indicates that the application is a review app",
6+
"value": "true"
7+
},
8+
"DOMAIN_PIX_APP": {
9+
"generator": "template",
10+
"template": "https://app-pr%PR_NUMBER%.review.pix"
11+
},
12+
"DOMAIN_PIX_ORGA": {
13+
"generator": "template",
14+
"template": "https://orga-pr%PR_NUMBER%.review.pix"
15+
},
16+
"DOMAIN_PIX_CERTIF": {
17+
"generator": "template",
18+
"template": "https://certif-pr%PR_NUMBER%.review.pix"
19+
},
20+
"PIX_API_URL": {
21+
"generator": "template",
22+
"template": "https://api-pr%PR_NUMBER%.review.pix.fr"
23+
},
24+
"PR_NUMBER": {
25+
"generator": "template",
26+
"template": "%PR_NUMBER%"
27+
}
28+
},
29+
"scripts": {
30+
"first-deploy": "./scripts/scalingo-post-ra-creation.sh"
31+
},
32+
"addons": [
33+
{
34+
"plan": "postgresql:postgresql-sandbox",
35+
"options": {
36+
"version": "15.10"
37+
}
38+
},
39+
{
40+
"plan": "redis:redis-sandbox",
41+
"options": {
42+
"version": "7.2.5"
43+
}
44+
}
45+
],
46+
"formation": {
47+
"web": {
48+
"amount": 1,
49+
"size": "S"
50+
}
51+
},
52+
"stack": "scalingo-22"
53+
}

scalingo.json

-14
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,6 @@
2929
"scripts": {
3030
"first-deploy": "./scripts/scalingo-post-ra-creation.sh"
3131
},
32-
"addons": [
33-
{
34-
"plan": "postgresql:postgresql-sandbox",
35-
"options": {
36-
"version": "15.10"
37-
}
38-
},
39-
{
40-
"plan": "redis:redis-sandbox",
41-
"options": {
42-
"version": "7.2.5"
43-
}
44-
}
45-
],
4632
"formation": {
4733
"web": {
4834
"amount": 1,

0 commit comments

Comments
 (0)