A Google Cloud Datastore Emulator container image. The image is meant to be used for creating an standalone emulator for testing.
The following environment variables need to be set so your application connects to the emulator instead of the production Cloud Datastore environment:
DATASTORE_EMULATOR_HOST=localhost:8081DATASTORE_PROJECT_ID=emulator
docker run -p 8081:8081 groovex/datastore-emulator:latestThe easiest way to create an emulator with this image is by using Circle CI. The following snippet can be used as a .circle/config.yml for a datastore emulator:
version: "2"
jobs:
build:
docker:
- image: groovex/datastore-emulator