How to turn off postgres scaling to zero after 1 hour?

So went i started the project, i had an option to turn on postgres scaling to zero after 1 hour. But now i need it full time :slight_smile: How can i make it working now?

This feature is controlled by the FLY_SCALE_TO_ZERO environment variable.

You can remove it with the following steps:

  1. Pull down your fly.toml file
fly config save --app <app-name>
  1. Remove the environment variable mentioned above from the configuration file.

  2. Verify what image you’re running

fly image show --app <app-name>
  1. Deploy your changes
fly deploy . --image flyio/postgres-flex:15.2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.