Config/ini file managment like nodejs module config

Anyone wanting the functionality like that of the nodejs config module to spin up instances of gitea?

If so I’d open a features issue.

More and more nodejs apps use this module including every app I write now.

It really makes multiple deployment so much easier. Don’t have to totally separate/repetitious configuration files, and the deployer can choose their favorite config file format. Since this module can merge configs based on hostname for instance it’s simple to get slightly different ini file on each machine running it.

I would bet in Go world such a module already exists.

In the meantime I wrote a nodejs script to load in my config files per that module (from yaml which I prefer) and then write out the ini file. Combined with a bash file I run that first then fire off the gitea binary.