How to update db settings as non-root

I am running RT in a docker image based on RHEL. I can set the configurations for postgres with ./configure options, but changing the RT_SiteConfig.pm does not seem to change the settings for the db connection after I run make initialize-database or make upgrade-database. What needs to be done to apply the changes in RT_SiteConfig.pm?