Public Repository

Last pushed: 2 years ago
Short Description
Dockerized GCD (google cloud datastore) local development environment
Full Description
# Based on the work of arschles/gcd-local-dev, but with the ability to load
# existing data (from a shared volume)

FROM java:7-jre

RUN mkdir -p /mnt/data/gcd
RUN wget http://storage.googleapis.com/gcd/tools/gcd-v1beta2-rev1-2.1.1.zip
RUN unzip gcd-v1beta2-rev1-2.1.1.zip && rm gcd-v1beta2-rev1-2.1.1.zip
WORKDIR gcd-v1beta2-rev1-2.1.1

ENV DATASTORE_HOST=http://localhost:8080
ENV DATASTORE_DATASET=$PROJ_ID
ENV PORT=8080
ENV CONSISTENCY=0.9

CMD ./gcd.sh create -d $PROJ_ID /mnt/data/gcd; ./gcd.sh start --consistency=$CONSISTENCY --host=0.0.0.0 --port=$PORT /mnt/data/gcd
Docker Pull Command
Owner
vantagesports