app.yaml config for enabling websocket gcp app engine flex

PHOTO EMBED

Fri May 22 2020 13:16:06 GMT+0000 (Coordinated Universal Time)

Saved by @moaaz

runtime: nodejs
env: flex

# This sample incurs costs to run on the App Engine flexible environment.
# The settings below are to reduce costs during testing and are not appropriate
# for production use. For more information, see:
# https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml
manual_scaling:
  instances: 1
resources:
  cpu: 1
  memory_gb: 0.5
  disk_size_gb: 10
content_copyCOPY

https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml