Is it possible to use free dynos for review apps by default?

118 Views Asked by At

We are a team that uses Heroku pipeline. By default, each review app uses hobby dyno. Is it possible to configure the pipeline to use free dyno for each review app by default?

1

There are 1 best solutions below

0
On

Yes. One of of the configuration options you can place inside of app.json can be used to configure the number and type of dynos used when spinning up your review app.

Documentation app.json

Configuring Review Apps

The majority of the configuration options you can use at the root of app.json can be overridden in the environment.review key.

Example:

{
    "environments": {
        "review": {
            "formation": {
                "web": {
                    "quantity": 1,
                    "size": "free"
                }
            }
        }
    }
}