There is no way for you to self-host a firebase in your own private cloud server. But you can try Supabase, which is a open-source self-hosted similar Backend as a Service (BaaS) platform to Firebase (if your question is asking about self-hosting a BaaS platform in your own private cloud).The first key difference between Supabase and Firebase is Supabase is build on top of a relational database whereas Firebase is built on top of a NoSQL document-based database.