Firebase emulators ready to be run.
3.7K
This repository contains a Docker image for running the Firebase emulators.
Each emulator runs on a separate port:
Do not forget to publish the ports when running the container or use --network host option.
docker pull tomasvotava/firebase-emulators
docker run --network host tomasvotava/firebase-emulators
docker run -p 9099:9099 -p 8080:8080 tomasvotava/firebase-emulators auth,firestore
docker run --network host -e GCLOUD_PROJECT_ID=your-project-id tomasvotava/firebase-emulators
The data is automatically imported from /firebase/data directory.
If you want to export the data, mount the directory to the container.
docker run -it --network host -v /path/to/data:/firebase/data tomasvotava/firebase-emulators
When you hit Ctrl+C the data will be exported to /path/to/data directory.
Set FIREBASE_TOKEN env variable to authenticate emulators requiring authentication.
docker run --network host -e FIREBASE_TOKEN=your-token tomasvotava/firebase-emulators
Content type
Image
Digest
sha256:a32eabe49…
Size
352.3 MB
Last updated
almost 3 years ago
docker pull tomasvotava/firebase-emulators