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 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:
- Pull down your
fly.toml
file
fly config save --app <app-name>
-
Remove the environment variable mentioned above from the configuration file.
-
Verify what image you’re running
fly image show --app <app-name>
- Deploy your changes
fly deploy . --image flyio/postgres-flex:15.2
2 Likes
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.