Skip to content

Instantly share code, notes, and snippets.

@thoughtspeed7
Created June 5, 2018 15:33
Show Gist options
  • Save thoughtspeed7/dca17ac904c80a0e54e7a1c9ef275a14 to your computer and use it in GitHub Desktop.
Save thoughtspeed7/dca17ac904c80a0e54e7a1c9ef275a14 to your computer and use it in GitHub Desktop.
Node, Python and Go in a single Google App Engine project!
# om namah shivay
# See https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml
# and https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml for more info
runtime: python
runtime_config:
python_version: 3
env: flex
service: python
entrypoint: gunicorn -b :$PORT hello:app
# The settings below are to reduce costs during testing and not appropriate for production use.
# You would obviously want to increase the values for computing resources and look into auto scaling when running production workloads.
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment