Skip to content

asequeira-os/aas-firebase-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aas-firebase-local

Dockerized Firebase emulator setup.

Currently configured for auth emulation only.
Uses a local project (because of the demo- prefix in .firebaserc )

To start
<repo dir>/scripts/run

To stop
<repo dir>/scripts/stop

Auth UI will be available at http://localhost:4000/auth

Auth API is available at localhost:9099

Planned use

Option A

For project(s) that plan to use this, have their startup script to run this project's start script first.
Call the stop script after the dependent project stop script.

Option B

For now run start and stop once so that the system has the necessary docker image for fblocal
Above step would not be necessary if the image is published to a docker images registry.

Add fblocal as a service in the docker compose file of the dependent project.

    fblocal:
        image: fblocal
        ports: 
            - 9099:9099 # Authentication
            - 4000:4000 # Emulator UI

Development

Change Dockerfile CMD to use bash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published