Local Developing for Google Cloud

I have now starting to move all my hosting and code to the Google cloud platform.
But when i developing new things i want to use the power and flexibility that the platform gives me but i want to develop local.

So for my new project with using Datastore and the python app engine. I have set up a docker-compose for me.
Now i can spin up my compose and build my app and then when don deploy to the cloud platform.

 

version: '2'
services:
 #DB
 datastore:
 image: google/cloud-sdk
 command: gcloud beta emulators datastore start --project=pname --host-port 0.0.0.0:8000 --no-store-on-disk
 ports:
 - 8000:8000
 app:
 image: gcr.io/google-appengine/python
 ports:
 - 80:80
 links:
 - datastore
 volumes:
 - ./app/:/app
 command: python -V