fix: update heroku app.json to use premium plans (#5349)

* fix: update heroku app.json to use premium plans

Use premium/paid dynos and addons as Heroku is set to deprecate free dynos/addons.

* fix: set default stack to heroku-20

* chore: update heroku app.json to use new dyno types

web and worker to use basic dynos
redis and postgres to use mini
This commit is contained in:
Vishnu Narayanan 2022-12-05 21:15:44 +05:30 committed by GitHub
parent c9cae01cb4
commit c3b6e1a732
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,16 +41,24 @@
"formation": { "formation": {
"web": { "web": {
"quantity": 1, "quantity": 1,
"size": "FREE" "size": "basic"
}, },
"worker": { "worker": {
"quantity": 1, "quantity": 1,
"size": "FREE" "size": "basic"
} }
}, },
"stack": "heroku-20", "stack": "heroku-20",
"image": "heroku/ruby", "image": "heroku/ruby",
"addons": [ "heroku-redis", "heroku-postgresql"], "addons": [
{
"plan": "heroku-redis:mini"
},
{
"plan": "heroku-postgresql:mini"
}
],
"stack": "heroku-20",
"buildpacks": [ "buildpacks": [
{ {
"url": "heroku/ruby" "url": "heroku/ruby"