Deployment on production. Change Databases information

I work on local configuration and define parameters for my database "stats" (on local Postgresql) use by questions and Dashboard.
I dump the local "metabase" database and restore on database on production environnement.
In environnement production, the database "stats" is different. How i can change this information without open Metabase Application and change on admin configuration page and without to change data directly in table metabase_database?

check Serialization

Thanks for your answer.
It's interesting but it doesn't solve my problem.
I would like automatic deploy my container metabase on a new server and change the information of fields in table metabase_database with the data of the new server in the same time.