Google cloud load balancer create backend service for Firebase Hosting to serve microservices & frontend SPA from the same domain via load balancer?

Viewed 278

Our application is currently focus around one single domain, let's call it: mydomain.com

Currently, we have separate docker containers via cloud run serving microservices from nested path, such as:

mydomain.com/auth -> auth microservice cloud run container mydomain.com/files -> storage bucket mydomain.com/public -> public microservice cloud run container.

The issue I'm having is trying to run a static SPA published on firebase from the root of the domain.

mydomain.com -> firebase hosting.

However, there doesn't seem to be any option for this in the spec and load-balancing is listed as N/A in the documentation, which makes sense as they're static files served from a CDN.

Is there a way to achieve this via firebase?

0 Answers
Related