I think Gitlab is probably the best option, or gitea. Personally I'm not a fan of Codeberg - I think their licensing is a mess.
Which licensing?
Their filter for projects being on their site is "we'll know it when we see it",