-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.yaml
31 lines (26 loc) · 994 Bytes
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
runtime: python39
env: standard
entrypoint: gunicorn -b :$PORT config.wsgi
handlers:
# This configures Google App Engine to serve the files in the app's static
# directory.
- url: /static
static_dir: staticfiles/
# 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
# 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/python/configuring-your-app-with-app-yaml
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10
env_variables:
DJANGO_SETTINGS_MODULE: "config.settings.gcloud_prod"
DJANGO_SECRET_KEY: "42)%4yx)aa@a=+_c(fn&kf3g19xax+=+a&key4i=!98zyim=8j"