Datastore Viewer for emulator
Project description
datastore-viewer
datastore-viewer is a simple viewer of Google Cloud Datastore Emulator.
Installing
$ pip install --upgrade datastore-viewer
Running
datastore-viewer
or
export DATASTORE_VIEWER_HOST=127.0.0.1
export DATASTORE_VIEWER_PORT=8082
datastore-viewer
Running with docker-compose
A example of docker-compose.yml:
version: '3'
services:
datastore_emulator:
image: singularities/datastore-emulator
volumes:
- datastore-emulator-storage:/opt/data
environment:
DATASTORE_PROJECT_ID: sample-project-id
DATASTORE_LISTEN_ADDRESS: 0.0.0.0:8081
ports:
- "8081:8081"
datastore_viewer:
image: python:3.7.2-stretch
environment:
DATASTORE_VIEWER_HOST: 0.0.0.0
DATASTORE_VIEWER_PORT: 18081
DATASTORE_EMULATOR_HOST: datastore_emulator:8081
command: |
bash -ex -c "
pip install --upgrade datastore-viewer
datastore-viewer
"
ports:
- "18081:18081"
volumes:
datastore-emulator-storage:
driver: local
Execute docker containers:
docker-compose up
Please access to: http://127.0.0.1:18081
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datastore-viewer-0.0.6.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for datastore_viewer-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8641fd2868ce830fc080f6f8163ac1b4e374b68df15571218e517d227c18d381 |
|
MD5 | 317afbcb992e5e93e730b7f508199432 |
|
BLAKE2b-256 | a3f3f1b804b78f9b0591af08c143dfcb6b50fad658b4e8ba0a22527f5187f3a4 |