You either grind and love the grind, and make peace with your slice of the industry (Automattic [$7.5B value], for example) or you sell out and up when you get bored or tired.
https://finance.yahoo.com/quote/GTLB/
What do you think they should have done better that would have helped them (their bottom line, growth, brand, sustainability, or some combination of these)?
If you’re not the top 1 (or 2) in what you do, your fighting for extremely small slices of market share.
And lot of people still use AWS code whatever.
There's probably not much money in just hosting code (especially considering that the market has been "commoditized to death" by ... GitLab itself, among others).