This repository provides a Docker configuration to run Firebase emulators, simplifying local development for Firebase-based applications.
- Dockerized Firebase services including Firestore, Realtime Database, Storage, Pub/Sub, and Auth.
- Fully configurable via the provided
firebase.json
. - Firebase Emulators UI integrated for easy management of Firebase services.
- Docker
To create the Docker image equipped with Firebase emulators, run:
docker build -t firebase-emulators .
To run the Docker container with the Firebase emulators, execute:
docker run -p 4000:4000 -p 8081:8081 -p 9000:9000 -p 8085:8085 -p 9199:9199 -p 9099:9099 firebase-emulators
To access the Firebase Emulators UI, navigate to http://localhost:4000
.
The Firebase emulators are configured via the firebase.json
file. The configuration file is mounted to the Docker container
and is used to define the services to be emulated.