I set up my own gitea server on my synology box, and it was wonderfully easy (assuming you know a little bit about docker).
I mostly just followed the steps on the instructions on the last few comments on this thread: https://github.com/go-gitea/gitea/issues/4669