how app.ini is created?

Hello, please tell me how app.ini is formed. If I want to customize what will be in the app.ini at system startup, what do I need to do?
path to app.ini file - stgit/custom/conf/app.ini

When Gitea first time runs, it will enter installation mode and after the installation, a ini file will be generated.