CPB100/lab2b/scheduled/app.yaml (11 lines of code) (raw):
runtime: custom
env: flex
entrypoint: gunicorn -b :$PORT ingestapp:app
service: quakes
#[START env]
env_variables:
CLOUD_STORAGE_BUCKET: cloud-training-demos
#[END env]
handlers:
- url: /ingest
script: ingestapp.app
- url: /.*
script: ingestapp.app