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=emulatordocker run -p 8081:8081 groovex/datastore-emulator:latest
The 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
Content type
Image
Digest
Size
195.3 MB
Last updated
over 7 years ago
docker pull groovex/datastore-emulator