How to configure and manage Postgres databases with Stolon?

Not sure if it’s the only way, but this should work:

fly ssh console --app name-here
export $(cat /data/.env | xargs)
stolonctl update --patch '{"pgParameters": { "name": "value"}}'
exit

You may then need to restart the app for that change to be applied to all its vms.

3 Likes