runtime: python runtime_config: python_version: 3 entrypoint: gunicorn -t 240 --log-level debug --debug -b :$PORT main:app threadsafe: true env: flex manual_scaling: instances: 4 resources: cpu: 1 memory_gb: 2.0 disk_size_gb: 10 handlers: # This configures Google App Engine to serve the files in the app's static # directory. - url: /static static_dir: static # This handler routes all requests not caught above to your main app. It is # required when static routes are defined, but can be omitted (along with # the entire handlers section) when there are no static files defined. - url: /.* script: auto