Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Run Firebase Emulator in a Google Cloud Run Service

I'm trying to create a DevOps process to deploy preview environments when a PR is created on GitHub and destroyed when the PR is merged. I want the preview environment to pretty much be completely isolated and be seeded from a set of predefined data, this way it can have repeatable tests.

The main issue is that I have an Angular Frontend which is hosted on Firebase Hosting and a Backend consisting of Firebase Functions. And because I want the everything to be isolated with a seeded DB it would be easiest to run the Firebase Emulator alongside the hosted Angular application on a single service.

Is it possible to run the Firebase Emulator on a Cloud Run Service?
Is it possible to run multiple processes on a Cloud Run Service?

0 1 464
1 REPLY 1

Hi @charlie-francis,

Welcome to Google Cloud Community!

As of the moment, it is not possible to run Firebase emulator on Cloud Run service. You can only connect it to the following:

I would suggest filing a feature request so that our engineers could take a look at this. We don't have a specific ETA but you can keep track of its progress once the ticket has been created.

Hope this helps.