Container image of Firestore / Datastore emulator.
10K+
$ docker run -d --name datastore-emulator -e DATABASE_MODE=datastore-mode -p 8080:8080 178inaba/firestore-emulator
jobs:
test:
runs-on: ubuntu-latest
services:
datastore-emulator:
image: 178inaba/firestore-emulator
ports:
- "8080:8080"
env:
DATABASE_MODE: datastore-mode
env:
DATASTORE_EMULATOR_HOST: localhost:8080
steps:
- name: Test
run: |
# Replace this with running tests for your app.
curl -f localhost:8080
services:
firestore:
image: 178inaba/firestore-emulator
ports:
- "8080:8080"
healthcheck:
test: ['CMD', 'curl', '-f', 'localhost:8080']
datastore:
image: 178inaba/firestore-emulator
ports:
- "8081:8080"
environment:
DATABASE_MODE: datastore-mode
healthcheck:
test: ['CMD', 'curl', '-f', 'localhost:8080']
app:
build: .
environment:
FIRESTORE_EMULATOR_HOST: firestore:8080
DATASTORE_EMULATOR_HOST: datastore:8080
depends_on:
firestore:
condition: service_healthy
datastore:
condition: service_healthy
DATABASE_MODEThe database mode to start the Firestore Emulator in.
The valid options are:
firestore-native (default): start the emulator in Firestore Nativedatastore-mode: start the emulator in Datastore ModeContent type
Image
Digest
sha256:1bfe59281…
Size
437.6 MB
Last updated
6 days ago
docker pull 178inaba/firestore-emulator