From 5a4fa2728d9d040fd7fa829fc80378bc73820d64 Mon Sep 17 00:00:00 2001 From: niladic Date: Tue, 28 Jan 2025 11:09:05 +0100 Subject: [PATCH 1/4] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20la=20configurat?= =?UTF-8?q?ion=20Scalingo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app.json b/app.json index ff78dfb94..01913a959 100644 --- a/app.json +++ b/app.json @@ -1,5 +1,6 @@ { "name": "aplus", + "stack": "scalingo-20", "env": { "STAGING_DATABASE_URL": { "required": true @@ -47,14 +48,8 @@ } }, "addons": [ - "heroku-postgresql" - ], - "buildpacks": [ { - "url": "heroku/nodejs" - }, - { - "url": "heroku/scala" + "plan": "postgresql:postgresql-sandbox" } ] } From 38f350d8209e1469480a604ca500971a958d0d72 Mon Sep 17 00:00:00 2001 From: niladic Date: Tue, 28 Jan 2025 11:16:33 +0100 Subject: [PATCH 2/4] Update app.json --- app.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.json b/app.json index 01913a959..0de6e3bba 100644 --- a/app.json +++ b/app.json @@ -44,7 +44,8 @@ }, "formation": { "web": { - "quantity": 1 + "amount": 1, + "size": "S" } }, "addons": [ From 096904b70592801210ee0a5b2599d704c5379864 Mon Sep 17 00:00:00 2001 From: niladic Date: Tue, 28 Jan 2025 11:42:48 +0100 Subject: [PATCH 3/4] update env --- app.json | 38 +++----------------------------------- 1 file changed, 3 insertions(+), 35 deletions(-) diff --git a/app.json b/app.json index 0de6e3bba..5202cfb7b 100644 --- a/app.json +++ b/app.json @@ -2,44 +2,12 @@ "name": "aplus", "stack": "scalingo-20", "env": { - "STAGING_DATABASE_URL": { - "required": true - }, "APP_DOMAIN": { - "required": true - }, - "APP_HTTPS": { - "required": true + "generator": "template", + "template": "%APP%.osc-fr1.scalingo.io" }, "APPLICATION_SECRET": { - "required": true - }, - "EVOLUTIONS_AUTOAPPLY": { - "required": true - }, - "MAIL_HOST": { - "required": true - }, - "MAIL_PASSWORD": { - "required": true - }, - "MAIL_PORT": { - "required": true - }, - "MAIL_USER": { - "required": true - }, - "SENTRY_DSN": { - "required": true - }, - "AREAS_WITH_LOGIN_BY_KEY": { - "required": true - }, - "AREAS_WITH_ATTACHEMENTS": { - "required": true - }, - "FILES_PATH": { - "required": true + "generator": "secret" } }, "formation": { From fc8bb1264090e9c5370fb3233bf24e94c0222e7e Mon Sep 17 00:00:00 2001 From: niladic Date: Tue, 28 Jan 2025 11:48:19 +0100 Subject: [PATCH 4/4] Update app.json --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 5202cfb7b..2e98f6b8a 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,7 @@ "name": "aplus", "stack": "scalingo-20", "env": { - "APP_DOMAIN": { + "APP_HOST": { "generator": "template", "template": "%APP%.osc-fr1.scalingo.io" },