I made tool to take the reigns of your own git forge. Check the post on how Dumontix deploys their our own instance of forgejo and the tool we made to automate it (available in en, fr and es)
https://blog.dumontix.eu/en/post/self-hosting-your-git-forge-a-practical-guide-for-data-sovereignty/