mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-19 12:10:28 +08:00
20 lines
554 B
YAML
20 lines
554 B
YAML
runtime: python37
|
|
entrypoint: gunicorn --timeout=300 --graceful-timeout=300 -b :$PORT main:app
|
|
instance_class: F1
|
|
|
|
automatic_scaling:
|
|
min_instances: 2
|
|
|
|
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
|
|
|