Firebase

Sample Repo

The repo for a sample firebase app can be found here:

https://github.com/getreploy/firebase-sample

Sample file

services:
firebase:
ports:
- name: ui
port: 4000
- name: firestore
port: 8000
- name: functions
port: 5001
- name: database
port: 9000
image: reploy/firebase
serve:
- firebase emulators:start

The reploy.yml file for this environment can also be found here:

https://github.com/getreploy/firebase-sample/blob/master/reploy.yml

Service Description

In the above file, we have one service which describes the firebase emulator runtime.

The firebase service is a firebase application, which uses our firebase runtime.